diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2022-05-25 13:09:06 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2022-05-25 13:09:06 +0200 |
commit | a4a9e7601a432f54a2466065d9512c6cd2afc431 (patch) | |
tree | 6a0a1b15d8aaef4279229016fe3368369ecd9490 /lib | |
parent | f9e72a40c7a7439e1ea78e6effccc000566c7abe (diff) | |
download | nextcloud-server-a4a9e7601a432f54a2466065d9512c6cd2afc431.tar.gz nextcloud-server-a4a9e7601a432f54a2466065d9512c6cd2afc431.zip |
allow use of rememberme cookies for IApacheAuth backends
- e.g. enables it for SAML backend
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/legacy/OC_User.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/OC_User.php b/lib/private/legacy/OC_User.php index bc47359dafc..b7547be5e82 100644 --- a/lib/private/legacy/OC_User.php +++ b/lib/private/legacy/OC_User.php @@ -179,6 +179,7 @@ class OC_User { $userSession->setLoginName($uid); $request = OC::$server->getRequest(); $userSession->createSessionToken($request, $uid, $uid); + $userSession->createRememberMeToken($userSession->getUser()); // setup the filesystem OC_Util::setupFS($uid); // first call the post_login hooks, the login-process needs to be |