diff options
author | Martin Spielmann <martin.spielmann@pingunaut.com> | 2017-01-07 13:58:07 +0100 |
---|---|---|
committer | Martin Spielmann <martin.spielmann@pingunaut.com> | 2017-01-07 13:58:07 +0100 |
commit | c7f75029fc4da931c16dfe24764656f28c2ca399 (patch) | |
tree | c516f526b41418d6368db72c1d7dcedb806d36a8 | |
parent | a4fef5ae34225f9f3d1fee4c0757466d3a3fb4d7 (diff) | |
download | gitblit-c7f75029fc4da931c16dfe24764656f28c2ca399.tar.gz gitblit-c7f75029fc4da931c16dfe24764656f28c2ca399.zip |
fix comment
-rw-r--r-- | src/main/java/com/gitblit/manager/AuthenticationManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/manager/AuthenticationManager.java b/src/main/java/com/gitblit/manager/AuthenticationManager.java index 46be2ef2..2b54e4b8 100644 --- a/src/main/java/com/gitblit/manager/AuthenticationManager.java +++ b/src/main/java/com/gitblit/manager/AuthenticationManager.java @@ -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); } |