Skip to content

Commit c98ccea

Browse files
committed
Merge pull request phpbb#3068 from marc1706/ticket/13204
[ticket/13204] Tell user that password was incorrect when exceeding attempts
2 parents dd7e09d + 0868831 commit c98ccea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • phpBB/phpbb/auth/provider

phpBB/phpbb/auth/provider/db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public function login($username, $password)
232232
// Give status about wrong password...
233233
return array(
234234
'status' => ($show_captcha) ? LOGIN_ERROR_ATTEMPTS : LOGIN_ERROR_PASSWORD,
235-
'error_msg' => ($show_captcha) ? 'LOGIN_ERROR_ATTEMPTS' : 'LOGIN_ERROR_PASSWORD',
235+
'error_msg' => 'LOGIN_ERROR_PASSWORD',
236236
'user_row' => $row,
237237
);
238238
}

0 commit comments

Comments
 (0)