do not use cache when updating user

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1551101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-12-16 01:26:35 +00:00
parent eadb1849d7
commit 22bb1a093e
1 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ public class DefaultUserService
try
{
String previousEncodedPassword =
securitySystem.getUserManager().findUser( user.getUsername() ).getEncodedPassword();
securitySystem.getUserManager().findUser( user.getUsername(), false ).getEncodedPassword();
// check oldPassword with the current one
@ -373,7 +373,7 @@ public class DefaultUserService
{
try
{
org.apache.archiva.redback.users.User rawUser = userManager.findUser( user.getUsername() );
org.apache.archiva.redback.users.User rawUser = userManager.findUser( user.getUsername(), false );
rawUser.setFullName( user.getFullName() );
rawUser.setEmail( user.getEmail() );
rawUser.setValidated( user.isValidated() );