User/Passwords

* allow for passwords longer than 15 characters
This commit is contained in:
Sarjuuk
2016-01-23 11:28:15 +01:00
parent c3fe4b0224
commit eddb034a5c

View File

@@ -382,7 +382,7 @@ class User
{
$errCode = 0;
if (strlen($pass) < 6 || strlen($pass) > 16)
if (mb_strlen($pass) < 6)
$errCode = 1;
// else if (preg_match('/[^\w\d!"#\$%]/', $pass)) // such things exist..? :o
// $errCode = 2;