Skip to content

Commit ffaa474

Browse files
authored
Merge pull request #32677 from nextcloud/backport/32592/stable24
[stable24] allow use of rememberme cookies for IApacheAuth backends
2 parents e7ddf60 + e395912 commit ffaa474

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/private/legacy/OC_User.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ public static function loginWithApache(\OCP\Authentication\IApacheBackend $backe
179179
$userSession->setLoginName($uid);
180180
$request = OC::$server->getRequest();
181181
$userSession->createSessionToken($request, $uid, $uid);
182+
$userSession->createRememberMeToken($userSession->getUser());
182183
// setup the filesystem
183184
OC_Util::setupFS($uid);
184185
// first call the post_login hooks, the login-process needs to be

0 commit comments

Comments
 (0)