5463: ask user to check spam folder if no email visible

This commit is contained in:
following
2013-03-25 12:54:42 +01:00
parent a37f20a5e8
commit 7c668cfdd4
6 changed files with 19 additions and 10 deletions

View File

@@ -79,7 +79,7 @@ function cracklib_checkpw($pw, $addwords)
return false;
// words from pw library are not allowed
if (sql_value("SELECT COUNT(*) FROM `pw_dict` WHERE `pw`='&1'", 0, $pw))
if (sql_value("SELECT COUNT(*) FROM `pw_dict` WHERE `pw`='&1'", 0, $pw) > 0)
return false;
if ($opt['logic']['cracklib'] == true)