Till Brehm
2014-08-01 2c49c56ebcb55e4dec88f22bf2977d0e6db9bcc7
Fixed issue in password strength check.
1 files modified
3 ■■■■ changed files
interface/lib/classes/validate_password.inc.php 3 ●●●● patch | view | raw | blame | history
interface/lib/classes/validate_password.inc.php
@@ -53,11 +53,12 @@
            $different += 1;
        }
        if (preg_match('/[`~!@#$%^&*()_+|\\=-[]}{\';:\/?.>,<" ]/', $password)) {
        if (preg_match('/[`~!@#$%^&*()_+|\\=-\[\]}{\';:\/?.>,<" ]/', $password)) {
            $points += 1;
            $different += 1;
        }
        if ($points == 0 || $different < 3) {
            if ($length >= 5 && $length <= 6) {
                return 1;