Merge pull request #32679 from nextcloud/backport/32592/stable23

[stable23] allow use of rememberme cookies for IApacheAuth backends
This commit is contained in:
blizzz 2022-06-01 12:25:50 +02:00 committed by GitHub
commit ae19916320
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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