mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Increase max password length from 32 to 100
This commit is contained in:
@@ -29,8 +29,8 @@ if (empty($_POST) === false) {
|
||||
$errors[] = 'Your new passwords do not match.';
|
||||
} else if (strlen($_POST['new_password']) < 6) {
|
||||
$errors[] = 'Your new passwords must be at least 6 characters.';
|
||||
} else if (strlen($_POST['new_password']) > 32) {
|
||||
$errors[] = 'Your new passwords must be less than 33 characters.';
|
||||
} else if (strlen($_POST['new_password']) > 100) {
|
||||
$errors[] = 'Your new passwords must be less than 100 characters.';
|
||||
}
|
||||
} else {
|
||||
$errors[] = 'Your current password is incorrect.';
|
||||
|
Reference in New Issue
Block a user