mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Incorrect password gets rejected at installer #901
This commit is contained in:
parent
9cf9f17115
commit
b26c42aee3
@ -483,7 +483,7 @@ if ($currentStep == 6 and count($systemCheckError) == 0) {
|
||||
|
||||
if (isset($_POST['passw1'])) {
|
||||
|
||||
if ($_POST['passw1'] != $_POST['passw2'] or preg_match('/^[\w\S]{6,120}$/', $_POST['passw1'])) {
|
||||
if ($_POST['passw1'] != $_POST['passw2'] or !preg_match('/^[\w\S]{6,120}$/', $_POST['passw1'])) {
|
||||
$displayToUser .= "<div class='alert alert-danger'>{$languageObject->error_password}</div>";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user