Merge pull request #2421 from ss23/patch-1

Failed login message translation fallback
This commit is contained in:
Stig Lindqvist 2013-09-15 20:44:30 -07:00
commit ac284eeff1

View File

@ -46,7 +46,11 @@ class MemberAuthenticator extends Authenticator {
if($member) {
$result = $member->checkPassword($RAW_data['Password']);
} else {
$result = new ValidationResult(false, _t('Member.ERRORWRONGCRED'));
$result = new ValidationResult(
false,
_t('Member.ERRORWRONGCRED',
'That doesn\'t seem to be the right e-mail address or password. Please try again.'
));
}
if($member && !$result->valid()) {
@ -141,4 +145,4 @@ class MemberAuthenticator extends Authenticator {
}
}
?>
?>