From 0e5e6e8f94a2be7b1376a5d63b91d0ffdfebbad7 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 13 May 2015 10:59:57 +0200 Subject: [PATCH] login: translate login error as well --- src/etc/inc/auth.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index 8cdabbd61..748031084 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -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']}');";