login: translate login error as well

This commit is contained in:
Franco Fichtner 2015-05-13 10:59:57 +02:00
parent 19226c4cef
commit 0e5e6e8f94

View File

@ -1350,7 +1350,7 @@ function session_auth() {
exit;
} else {
/* give the user an error message */
$_SESSION['Login_Error'] = 'Wrong username or password.';
$_SESSION['Login_Error'] = _('Wrong username or password.');
log_error("webConfigurator authentication error for '{$_POST['usernamefld']}' from {$_SERVER['REMOTE_ADDR']}");
if (isAjax()) {
echo "showajaxmessage('{$_SESSION['Login_Error']}');";