summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Spielmann <martin.spielmann@pingunaut.com>2017-01-07 13:58:07 +0100
committerMartin Spielmann <martin.spielmann@pingunaut.com>2017-01-07 13:58:07 +0100
commitc7f75029fc4da931c16dfe24764656f28c2ca399 (patch)
treec516f526b41418d6368db72c1d7dcedb806d36a8 /src
parenta4fef5ae34225f9f3d1fee4c0757466d3a3fb4d7 (diff)
downloadgitblit-c7f75029fc4da931c16dfe24764656f28c2ca399.tar.gz
gitblit-c7f75029fc4da931c16dfe24764656f28c2ca399.zip
fix comment
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/gitblit/manager/AuthenticationManager.java2
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);
}