Reverted fix from Hans that effectively disabled the method to remove the hash type prefix, and fixed the userLogin service code to and fixed the userLogin service code to remove the prefix from the db currentPassword value, which was missing and was causing the problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656515 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -81,7 +81,7 @@ public class HashCrypt {
|
||||
}
|
||||
|
||||
public static String removeHashTypePrefix(String hashString) {
|
||||
if (UtilValidate.isNotEmpty(hashString) || hashString.charAt(0) != '{') {
|
||||
if (UtilValidate.isEmpty(hashString) || hashString.charAt(0) != '{') {
|
||||
return hashString;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user