Stardrad Yin
2014-03-04 b85642562a6cf1d0adacc43521f01ce8358aaacf
src/main/java/com/gitblit/wicket/pages/EditUserPage.java
@@ -154,6 +154,9 @@
                     return;
                  }
                  // change the cookie
                  userModel.cookie = StringUtils.getSHA1(userModel.username + password);
                  // Optionally store the password MD5 digest.
                  String type = app().settings().getString(Keys.realm.passwordStorage, "md5");
                  if (type.equalsIgnoreCase("md5")) {