mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-05-02 12:19:20 +02:00
parent
a75e2c015e
commit
fd3c6cb939
@ -65,8 +65,8 @@ if (empty($_POST) === false) {
|
||||
if (strlen($_POST['password']) < 6) {
|
||||
$errors[] = 'Your password must be at least 6 characters.';
|
||||
}
|
||||
if (strlen($_POST['password']) > 100) {
|
||||
$errors[] = 'Your password must be less than 100 characters.';
|
||||
if (strlen($_POST['password']) > 29) {
|
||||
$errors[] = 'Your password must be less than 30 characters.';
|
||||
}
|
||||
if ($_POST['password'] !== $_POST['password_again']) {
|
||||
$errors[] = 'Your passwords do not match.';
|
||||
|
Loading…
x
Reference in New Issue
Block a user