mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-05 07:37:25 +02:00
Loosen length restriction for passwords from 72 bytes to 2048 bytes
This commit is contained in:
@@ -332,7 +332,7 @@ abstract class UserManager {
|
||||
}
|
||||
|
||||
if ($isNewPassword) {
|
||||
if (\strlen($password) > 72) {
|
||||
if (\strlen($password) > 2048) {
|
||||
throw new InvalidPasswordException();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user