mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
* fixed recovering account and changing password when salt is enabled
* added 'enabled' field in myaac_hooks table, which can enable or disable specified hook * password change minimal/maximal length is now more precise
This commit is contained in:
@@ -689,7 +689,7 @@ function check_password($pass)
|
||||
if(strspn($pass, "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890") != strlen($pass))
|
||||
return false;
|
||||
|
||||
return preg_match("/[A-z0-9]{7,32}/", $pass);
|
||||
return preg_match("/[A-z0-9]/", $pass);
|
||||
}
|
||||
|
||||
function check_mail($email)
|
||||
|
Reference in New Issue
Block a user