diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-05-09 14:34:32 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-05-11 13:36:46 +0200 |
commit | 5e55dfb2d6d594e813bca9733886ac46e537b6c5 (patch) | |
tree | a6046f086f5f4befaf7397f3cb675938dc4f2f3d | |
parent | 214aa6639c6ee741211ae58d475909527fc9450a (diff) | |
download | nextcloud-server-5e55dfb2d6d594e813bca9733886ac46e537b6c5.tar.gz nextcloud-server-5e55dfb2d6d594e813bca9733886ac46e537b6c5.zip |
create session token for DAV clients (sync clients)
-rw-r--r-- | apps/dav/lib/connector/sabre/auth.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/connector/sabre/auth.php b/apps/dav/lib/connector/sabre/auth.php index b63efa3a1ba..fdc074f5cf7 100644 --- a/apps/dav/lib/connector/sabre/auth.php +++ b/apps/dav/lib/connector/sabre/auth.php @@ -104,6 +104,7 @@ class Auth extends AbstractBasic { } else { \OC_Util::setUpFS(); //login hooks may need early access to the filesystem if($this->userSession->login($username, $password)) { + $this->userSession->createSessionToken($this->request, $username, $password); \OC_Util::setUpFS($this->userSession->getUser()->getUID()); $this->session->set(self::DAV_AUTHENTICATED, $this->userSession->getUser()->getUID()); $this->session->close(); |