mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-06 08:07:27 +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 ($isNewPassword) {
|
||||||
if (\strlen($password) > 72) {
|
if (\strlen($password) > 2048) {
|
||||||
throw new InvalidPasswordException();
|
throw new InvalidPasswordException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user