aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-11 21:20:34 -0800
committerfriendica <info@friendica.com>2014-02-11 21:20:34 -0800
commit8089c3202bb6af5019ee3e34c6ff37cff0c907c9 (patch)
tree5db9e688b478cd32a5b97d210e30252595f35dbb /include
parent7f3f981d96338093ed8a01597e80916c6d8ea212 (diff)
downloadvolse-hubzilla-8089c3202bb6af5019ee3e34c6ff37cff0c907c9.tar.gz
volse-hubzilla-8089c3202bb6af5019ee3e34c6ff37cff0c907c9.tar.bz2
volse-hubzilla-8089c3202bb6af5019ee3e34c6ff37cff0c907c9.zip
better auth logging in dav
Diffstat (limited to 'include')
-rw-r--r--include/reddav.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/reddav.php b/include/reddav.php
index 63d073d2a..7fcd81d61 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -217,6 +217,7 @@ class RedDirectory extends DAV\Node implements DAV\ICollection, DAV\IQuota {
function getDir() {
logger('getDir: ' . $this->ext_path, LOGGER_DEBUG);
+ $this->auth->log();
$file = $this->ext_path;
@@ -810,6 +811,17 @@ class RedBasicAuth extends Sabre\DAV\Auth\Backend\AbstractBasic {
$this->browser = $browser;
}
+
+ function log() {
+ logger('dav: auth: channel_name ' . $this->channel_name);
+ logger('dav: auth: channel_id ' . $this->channel_id);
+ logger('dav: auth: channel_hash ' . $this->channel_hash);
+ logger('dav: auth: observer ' . $this->observer);
+ logger('dav: auth: owner_id ' . $this->owner_id);
+ logger('dav: auth: owner_nick ' . $this->owner_nick);
+ }
+
+
}