Skip to content

Commit

Permalink
Merge pull request #32592 from nextcloud/fix/noid/allow-rememberme-to…
Browse files Browse the repository at this point in the history
…ken-apache-auth-backend

allow use of rememberme cookies for IApacheAuth backends
  • Loading branch information
juliusknorr authored May 27, 2022
2 parents 8dcab81 + a4a9e76 commit ac79137
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/legacy/OC_User.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ public static function loginWithApache(\OCP\Authentication\IApacheBackend $backe
$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
Expand Down

0 comments on commit ac79137

Please sign in to comment.