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:
parent
eadb1849d7
commit
22bb1a093e
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue