From c7f75029fc4da931c16dfe24764656f28c2ca399 Mon Sep 17 00:00:00 2001 From: Martin Spielmann Date: Sat, 7 Jan 2017 13:58:07 +0100 Subject: [PATCH] fix comment --- src/main/java/com/gitblit/manager/AuthenticationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5