diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2022-05-25 14:09:06 +0300 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-06-01 00:59:23 +0300 |
commit | 4358cf7c7ad4033ee7bb2245ab691b61f86fbc15 (patch) | |
tree | 42890a81445f222d811990f0bc5e71ca838a9ca5 /lib/private | |
parent | b6a4e3bbba028f0a02ae4e0c813ae564099519a1 (diff) |
allow use of rememberme cookies for IApacheAuth backendsbackport/32592/stable22
- e.g. enables it for SAML backend
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private')
-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 ca0f525ef41..a56b1db2301 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 |