diff options
author | friendica <info@friendica.com> | 2014-02-22 13:33:18 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-22 13:33:18 -0800 |
commit | 075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab (patch) | |
tree | a36cf6f0ba6a92e36074c641271249c783b0376c /include/reddav.php | |
parent | 9c4c0e6d2313fc7d09e315f2bb39711af4a2774a (diff) | |
download | volse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.tar.gz volse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.tar.bz2 volse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.zip |
This should resolve the dav authentication loop (correctly)
Diffstat (limited to 'include/reddav.php')
-rw-r--r-- | include/reddav.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/reddav.php b/include/reddav.php index 6182aeacd..2a26ac42a 100644 --- a/include/reddav.php +++ b/include/reddav.php @@ -792,6 +792,7 @@ class RedBasicAuth extends Sabre\DAV\Auth\Backend\AbstractBasic { $this->channel_id = $r[0]['channel_id']; $this->channel_hash = $this->observer = $r[0]['channel_hash']; $_SESSION['uid'] = $r[0]['channel_id']; + $_SESSION['account_id'] = $r[0]['channel_account_id']; $_SESSION['authenticated'] = true; return true; } @@ -813,6 +814,7 @@ class RedBasicAuth extends Sabre\DAV\Auth\Backend\AbstractBasic { $this->channel_id = $r[0]['channel_id']; $this->channel_hash = $this->observer = $r[0]['channel_hash']; $_SESSION['uid'] = $r[0]['channel_id']; + $_SESSION['account_id'] = $r[0]['channel_account_id']; $_SESSION['authenticated'] = true; return true; } |