Permalink
Browse files

do not log silent HTTP credential fails

  • Loading branch information...
1 parent 56691a9 commit bea07d8073612a77d6f8a814e672084526409365 @splitbrain committed Feb 23, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 action.php
  2. +1 −1 plugin.info.txt
View
@@ -52,7 +52,7 @@ function handle_before(&$event, $param){
}else{
$this->_log('logged in temporarily');
}
- }elseif($_REQUEST['u'] && !$_SERVER['REMOTE_USER']){
+ }elseif($_REQUEST['u'] && !$_REQUEST['http_credentials'] && !$_SERVER['REMOTE_USER']){
$this->_log('failed login attempt');
}
}
View
@@ -1,7 +1,7 @@
base loglog
author Andreas Gohr
email andi@splitbrain.org
-date 2011-02-05
+date 2011-02-23
name Login/Logout logging plugin
desc Log logins and logouts of users to a file
url http://www.dokuwiki.org/plugin:loglog

0 comments on commit bea07d8

Please sign in to comment.