1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

Merge pull request #3068 from marc1706/ticket/13204

[ticket/13204] Tell user that password was incorrect when exceeding attempts
This commit is contained in:
Joas Schilling 2014-11-21 22:52:24 +01:00
commit c98cceaf22

View File

@ -232,7 +232,7 @@ class db extends \phpbb\auth\provider\base
// Give status about wrong password...
return array(
'status' => ($show_captcha) ? LOGIN_ERROR_ATTEMPTS : LOGIN_ERROR_PASSWORD,
'error_msg' => ($show_captcha) ? 'LOGIN_ERROR_ATTEMPTS' : 'LOGIN_ERROR_PASSWORD',
'error_msg' => 'LOGIN_ERROR_PASSWORD',
'user_row' => $row,
);
}