mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00: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
|
@ -120,7 +120,7 @@ class Delegation extends BaseModule
|
|||
|
||||
$this->session->clear();
|
||||
|
||||
$this->auth->setForUser($this->app, $user, true, true);
|
||||
$this->auth->setForUser($user, true, true);
|
||||
|
||||
if ($limited_id) {
|
||||
$this->session->setSubManagedUserId($original_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue