mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-08 19:42:48 +00:00
SEC-1031: Ported change from trunk.
This commit is contained in:
parent
ad4b5c487f
commit
4c3867718e
@ -145,7 +145,7 @@ public class LdapShaPasswordEncoder implements PasswordEncoder {
|
|||||||
salt = null;
|
salt = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
int startOfHash = prefix.length() + 1;
|
int startOfHash = prefix.length();
|
||||||
|
|
||||||
String encodedRawPass = encodePassword(rawPass, salt).substring(startOfHash);
|
String encodedRawPass = encodePassword(rawPass, salt).substring(startOfHash);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user