diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-10-25 21:47:18 -0700 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-11-02 11:18:08 +0100 |
commit | 086883167507ced565fa2803f10a3b3ae6664595 (patch) | |
tree | 595d56937c545fc40e7d72ab335bcce853ebfb36 /phpBB/phpbb/auth/provider/db.php | |
parent | 0e772afb9db640e54e84cfccaddcf74f3edbb3fb (diff) | |
download | forums-086883167507ced565fa2803f10a3b3ae6664595.tar forums-086883167507ced565fa2803f10a3b3ae6664595.tar.gz forums-086883167507ced565fa2803f10a3b3ae6664595.tar.bz2 forums-086883167507ced565fa2803f10a3b3ae6664595.tar.xz forums-086883167507ced565fa2803f10a3b3ae6664595.zip |
[ticket/13204] Tell user that password was incorrect when exceeding attempts
At the end of the login method, the captcha was entered correctly and only
the password was incorrect. Therefore, just tell the user that the password
was incorrect. He will see that he still needs to enter a captcha.
PHPBB3-13204
Diffstat (limited to 'phpBB/phpbb/auth/provider/db.php')
-rw-r--r-- | phpBB/phpbb/auth/provider/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/db.php b/phpBB/phpbb/auth/provider/db.php index 722eeffa9a..6b6e84bb2f 100644 --- a/phpBB/phpbb/auth/provider/db.php +++ b/phpBB/phpbb/auth/provider/db.php @@ -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, ); } |