Browse Source

fix comment

tags/r1.9.0
Martin Spielmann 7 years ago
parent
commit
c7f75029fc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/java/com/gitblit/manager/AuthenticationManager.java

+ 1
- 1
src/main/java/com/gitblit/manager/AuthenticationManager.java View File

@@ -570,7 +570,7 @@ public class AuthenticationManager implements IAuthenticationManager {
// check if strong hash algorithm is configured
String algorithm = settings.getString(Keys.realm.passwordStorage, SecurePasswordHashUtils.PBKDF2WITHHMACSHA256);
if(algorithm.equals(SecurePasswordHashUtils.PBKDF2WITHHMACSHA256)){
// rehash the provided correct password and
// rehash the provided correct password and update the user model
user.password = SecurePasswordHashUtils.get().createStoredPasswordFromPassword(password);
userManager.updateUserModel(user);
}

Loading…
Cancel
Save