shish 4 lat temu
rodzic
commit
8ce3f3bf81
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      common/components/stringUtil.php

+ 1 - 1
common/components/stringUtil.php

@@ -16,7 +16,7 @@ class stringUtil
             return 0;
             return 0;
         } else if (preg_match('/^[0-9 a-z]{6,16}$/', $password)) {
         } else if (preg_match('/^[0-9 a-z]{6,16}$/', $password)) {
             return 1;
             return 1;
-        } else if (preg_match('/^[0-9 a-z A-Z !@#$%^&*]{6,16}$/', $password)) {
+        } else if (preg_match('/^[0-9 a-z A-Z !.@#$%^&*]{6,16}$/', $password)) {
             return 2;
             return 2;
         }
         }
         return 0;
         return 0;