mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Issue 674:
Administrator can ask a new password Add message about users witch can change their password git-svn-id: http://piwigo.org/svn/trunk@1947 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user