Fixing password change in admin creation from file
This commit is contained in:
parent
8696d7cee3
commit
6fd45e7bc6
|
@ -181,6 +181,7 @@ public class AdminAutoCreateCheck
|
|||
// good add various tokens.
|
||||
u = securitySession.getUser();
|
||||
u.setLastLoginDate( new Date() );
|
||||
u.setPassword( null );
|
||||
securitySystem.getUserManager().updateUser( u );
|
||||
}
|
||||
assignAdminRole( u );
|
||||
|
|
Loading…
Reference in New Issue