Module: nagvis Branch: master Commit: 1164ab0797c89deb713c9b536d88e1bef6030481 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=1164ab0797c89deb713c9b536d88e1bef6030481
Author: LaMi <[email protected]> Date: Tue Apr 6 20:28:17 2010 +0200 Fixed logon failure log by session auth module --- share/server/core/classes/CoreAuthHandler.php | 2 +- share/server/core/classes/CoreAuthModSession.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/server/core/classes/CoreAuthHandler.php b/share/server/core/classes/CoreAuthHandler.php index c69485e..4b2e6ad 100644 --- a/share/server/core/classes/CoreAuthHandler.php +++ b/share/server/core/classes/CoreAuthHandler.php @@ -166,7 +166,7 @@ class CoreAuthHandler { $ALOG->l('User logged in ('.$this->getUser().' / '.$this->getUserId().'): '.$this->sModuleName); } - if($this->bIsAuthenticated === false) { + if($this->bIsAuthenticated === false && $this->sModuleName != 'CoreAuthModSession') { $ALOG->l('User login failed ('.$this->getUser().' / '.$this->getUserId().'): '.$this->sModuleName); } diff --git a/share/server/core/classes/CoreAuthModSession.php b/share/server/core/classes/CoreAuthModSession.php index cb3148f..c66ae92 100644 --- a/share/server/core/classes/CoreAuthModSession.php +++ b/share/server/core/classes/CoreAuthModSession.php @@ -140,7 +140,7 @@ class CoreAuthModSession extends CoreAuthModule { // Did the user just try to authenticate? Then passCredentials should be // called before to put the credentials here - if($aCredentials === null && $this->sUsername !== '' && $this->sPassword !== '') { + if($this->sUsername !== '' && $this->sPassword !== '') { $aCredentials = Array('user' => $this->sUsername, 'password' => $this->sPassword); } ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
