A. Täffner
2016-01-27 ecb8fc2c5b3c1b42e15e3e44d287a650ef3b6aa6
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;
      }