summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/auth.inc
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-08-30 08:14:36 -0400
committerSteve Beaver <sbeaver@netgate.com>2017-08-30 08:14:36 -0400
commitca44a37cad5e905e3a76b6ce862de6ec5d3bcb06 (patch)
treedd88cbaee39b2a54a2e1a0b048065192a6dff92b /src/etc/inc/auth.inc
parent634d68709128495b22caffef36f9351e3361e2ff (diff)
downloadpfsense-ca44a37cad5e905e3a76b6ce862de6ec5d3bcb06.zip
pfsense-ca44a37cad5e905e3a76b6ce862de6ec5d3bcb06.tar.gz
Restore bad username or password message
Diffstat (limited to 'src/etc/inc/auth.inc')
-rw-r--r--src/etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc
index ec76e1d..aa658f3 100644
--- a/src/etc/inc/auth.inc
+++ b/src/etc/inc/auth.inc
@@ -1815,7 +1815,7 @@ function session_auth() {
exit;
} else {
/* give the user an error message */
- $_SESSION['Login_Error'] = "Username or Password incorrect";
+ $_SESSION['Login_Error'] = gettext("Username or Password incorrect");
log_auth("webConfigurator authentication error for '{$_POST['usernamefld']}' from {$_SERVER['REMOTE_ADDR']}");
if (isAjax()) {
echo "showajaxmessage('{$_SESSION['Login_Error']}');";
OpenPOWER on IntegriCloud