diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-01 10:56:10 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-01 10:56:10 +0200 |
commit | 7b4459d28d40523c70ec05a733e158f2c14faac4 (patch) | |
tree | 79f18f50a9c57b64583d508769011a61bcf3e298 /lib/private/legacy | |
parent | 0f2017c7da6332f66f05e93dd34ea1bf1c134148 (diff) | |
parent | c58d8159d7bdee93a67a917e16b750fe99df9f99 (diff) | |
download | nextcloud-server-7b4459d28d40523c70ec05a733e158f2c14faac4.tar.gz nextcloud-server-7b4459d28d40523c70ec05a733e158f2c14faac4.zip |
Merge pull request #24912 from owncloud/session-tokens-apache-auth
Create session tokens for apache auth users
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/user.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/legacy/user.php b/lib/private/legacy/user.php index 6e113bd4742..d4d84ed3fa2 100644 --- a/lib/private/legacy/user.php +++ b/lib/private/legacy/user.php @@ -180,6 +180,8 @@ class OC_User { self::setUserId($uid); self::setDisplayName($uid); self::getUserSession()->setLoginName($uid); + $request = OC::$server->getRequest(); + self::getUserSession()->createSessionToken($request, $uid, $uid); // setup the filesystem OC_Util::setupFS($uid); // first call the post_login hooks, the login-process needs to be |