mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 08:34:27 +02:00
Refactor Security\Authentication class, remove dependency for App instance
This commit is contained in:
parent
c0bd3b5ff0
commit
00d2e24dd2
8 changed files with 21 additions and 22 deletions
|
@ -57,7 +57,7 @@ class OpenID extends BaseModule
|
|||
// successful OpenID login
|
||||
$session->remove('openid');
|
||||
|
||||
DI::auth()->setForUser(DI::app(), $user, true, true);
|
||||
DI::auth()->setForUser($user, true, true);
|
||||
|
||||
$this->baseUrl->redirect(DI::session()->pop('return_path', ''));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue