From ad1eea8a1a1cc14c3cbd210228e162dc55b58f10 Mon Sep 17 00:00:00 2001 From: A. Täffner <darkalex@firesplash.de> Date: Thu, 07 Apr 2016 04:14:47 -0400 Subject: [PATCH] Fixed cron to update serial and not sign directly. This now issues a job for the cron server which will then generate the zone and sign it. cleaner solution AND fixes a possible replication (zone-transfer) issue. --- interface/lib/classes/validate_password.inc.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/validate_password.inc.php b/interface/lib/classes/validate_password.inc.php index da044c6..f36f162 100644 --- a/interface/lib/classes/validate_password.inc.php +++ b/interface/lib/classes/validate_password.inc.php @@ -33,6 +33,7 @@ private function _get_password_strength($password) { $length = strlen($password); + $points = 0; if ($length < 5) { return 1; @@ -53,7 +54,7 @@ $different += 1; } - if (preg_match('/[`~!@#$%^&*()_+|\\=-\[\]}{\';:\/?.>,<" ]/', $password)) { + if (preg_match('/[`~!@#$%^&*()_+|\\=\-\[\]}{\';:\/?.>,<" ]/', $password)) { $points += 1; $different += 1; } -- Gitblit v1.9.1