mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Polish Exception Message
Polish Exception message for bad salt in BCrypt Issue gh-4147
This commit is contained in:
parent
09436649cc
commit
bb834bccf6
@ -543,7 +543,7 @@ public class BCrypt {
|
||||
StringBuilder rs = new StringBuilder();
|
||||
|
||||
if (salt == null) {
|
||||
throw new IllegalArgumentException("Invalid salt");
|
||||
throw new IllegalArgumentException("salt cannot be null");
|
||||
}
|
||||
|
||||
int saltLength = salt.length();
|
||||
|
Loading…
x
Reference in New Issue
Block a user