Fixing password change in admin creation from file

This commit is contained in:
Martin Stockhammer 2020-11-03 14:03:53 +01:00
parent 8696d7cee3
commit 6fd45e7bc6
1 changed files with 1 additions and 0 deletions

View File

@ -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 );