allow use of rememberme cookies for IApacheAuth backends

- e.g. enables it for SAML backend

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2022-05-25 13:09:06 +02:00
parent f9e72a40c7
commit a4a9e7601a
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

@ -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