diff options
Diffstat (limited to '')
-rw-r--r-- | password.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/password.php b/password.php index c0fe3b2e9..42715e864 100644 --- a/password.php +++ b/password.php @@ -71,7 +71,7 @@ FROM '.USERS_TABLE.' as u ON u.'.$conf['user_fields']['id'].' = ui.user_id WHERE ' .$conf['user_fields']['email'].' = \''.$mail_address.'\' AND - ui.status not in (\'guest\', \'generic\', \'webmaster\') + ui.status not in (\'guest\', \'generic\', \'admin\', \'webmaster\') ;'; $result = pwg_query($query); @@ -132,6 +132,7 @@ WHERE ' else { array_push($page['errors'], l10n('No user matches this email address')); + array_push($page['errors'], l10n('Administrator, webmaster and special user cannot use this method')); array_push($page['errors'], $mailto); } } |