James Moger
2014-02-28 4bdd3958a1d1167063acdf3a0cca49ac56b8e446
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")) {