aboutsummaryrefslogtreecommitdiffstats
path: root/include/RedDAV/RedBasicAuth.php
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-12-14 12:26:08 +0000
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-12-14 12:26:08 +0000
commit082ef8b950cbd3f1941a188a5993f1f9d2cf0ec6 (patch)
tree15ef2df5a74cd6f9ad587417979ed7129dfb81d8 /include/RedDAV/RedBasicAuth.php
parent7a19bd7fb35f5b41db81e9a2397ea085a165a94a (diff)
parent233903c84428b9322eaea94bf22f6ae972e44332 (diff)
downloadvolse-hubzilla-082ef8b950cbd3f1941a188a5993f1f9d2cf0ec6.tar.gz
volse-hubzilla-082ef8b950cbd3f1941a188a5993f1f9d2cf0ec6.tar.bz2
volse-hubzilla-082ef8b950cbd3f1941a188a5993f1f9d2cf0ec6.zip
Merge pull request #741 from dawnbreak/docu
Add security logger to RedDAV.
Diffstat (limited to 'include/RedDAV/RedBasicAuth.php')
-rw-r--r--include/RedDAV/RedBasicAuth.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/RedDAV/RedBasicAuth.php b/include/RedDAV/RedBasicAuth.php
index 2f86d4f82..19dd9a5f0 100644
--- a/include/RedDAV/RedBasicAuth.php
+++ b/include/RedDAV/RedBasicAuth.php
@@ -118,8 +118,11 @@ class RedBasicAuth extends DAV\Auth\Backend\AbstractBasic {
}
}
}
- logger('password failed for ' . $username);
- // @TODO add security logger
+
+ $error = 'password failed for ' . $username;
+ logger($error);
+ log_failed_login($error);
+
return false;
}