diff options
Diffstat (limited to 'mayor-orig/www/include/base')
-rw-r--r-- | mayor-orig/www/include/base/log.php | 2 | ||||
-rw-r--r-- | mayor-orig/www/include/base/login.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mayor-orig/www/include/base/log.php b/mayor-orig/www/include/base/log.php index 45c669e4..0b8f6fd1 100644 --- a/mayor-orig/www/include/base/log.php +++ b/mayor-orig/www/include/base/log.php @@ -10,7 +10,7 @@ return ($_SERVER['HTTP_X_FORWARDED_FOR']!='')?$_SERVER['HTTP_X_FORWARDED_FOR']:$_SERVER['REMOTE_ADDR']; } - function logLogin($policy, $userAccount, $flag) { + function logLogin($policy, $userAccount, $flag) { //loginLog $q = "INSERT INTO loginLog (dt,ip,userAccount,policy,flag) VALUES (NOW(),'%s','%s','%s', %u)"; db_query($q, array('fv' => 'logLogin', 'modul' => 'login', 'values' => array(_clientIp(), $userAccount, $policy, $flag))); } diff --git a/mayor-orig/www/include/base/login.php b/mayor-orig/www/include/base/login.php index f244b90a..da3217a9 100644 --- a/mayor-orig/www/include/base/login.php +++ b/mayor-orig/www/include/base/login.php @@ -86,8 +86,8 @@ } } else { $result = userAuthentication($userAccount, $userPassword, $accountInformation, $toPolicy); // ??? toPolicy benne van az AccountInformation-ben!!! Ldap backend only? - logLogin($toPolicy, $userAccount, $result); } + logLogin($toPolicy, $userAccount, $result); define('_MAYORAUTHRESULT',$result); if ($result === _AUTH_SUCCESS) { |