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