1
0
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:
Marco
2025-05-19 13:24:54 +02:00
parent e087c9af2f
commit 293d57f243

View File

@@ -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();
} }
} }