From: Martin Spielmann Date: Sat, 7 Jan 2017 12:58:07 +0000 (+0100) Subject: fix comment X-Git-Tag: r1.9.0~35^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c7f75029fc4da931c16dfe24764656f28c2ca399;p=gitblit.git fix comment --- 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); }