diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-12-10 16:53:22 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-12-10 16:53:32 -0500 |
commit | 65f7fba8fc5b161cf1c16df07c4f6b11a5a533c0 (patch) | |
tree | 1d13eaf78fab187821cb74c4665b8c0baad894a4 /etc/inc/auth.inc | |
parent | 20699f3f43f87a8b32bab9d0ef2cb2fff9b11fd4 (diff) | |
download | pfsense-65f7fba8fc5b161cf1c16df07c4f6b11a5a533c0.zip pfsense-65f7fba8fc5b161cf1c16df07c4f6b11a5a533c0.tar.gz |
Correct webConfgurator auth/error messages
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index bbcb53a..60912f7 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -1212,7 +1212,7 @@ function session_auth() { $_SESSION['Logged_In'] = "True"; $_SESSION['Username'] = $_POST['usernamefld']; $_SESSION['last_access'] = time(); - log_auth("Successful webConfigurator login for user '{$_POST['usernamefld']}' host: {$_SERVER['REMOTE_ADDR']}"); + log_auth("Successful webConfigurator login for user '{$_POST['usernamefld']}' from {$_SERVER['REMOTE_ADDR']}"); $HTTP_SERVER_VARS['AUTH_USER'] = $_SESSION['Username']; if (isset($_POST['postafterlogin'])) return true; @@ -1225,7 +1225,7 @@ function session_auth() { } else { /* give the user an error message */ $_SESSION['Login_Error'] = "Username or Password incorrect"; - log_auth("webConfigurator authentication error for '{$_POST['usernamefld']}' host: '{$_SERVER['REMOTE_ADDR']}'"); + log_auth("webConfigurator authentication error for '{$_POST['usernamefld']}' from {$_SERVER['REMOTE_ADDR']}"); if(isAjax()) { echo "showajaxmessage('{$_SESSION['Login_Error']}');"; return; |