mirror of
https://github.com/friendica/friendica
synced 2025-05-17 23:44:11 +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
|
@ -169,7 +169,7 @@ class BasicAuth
|
|||
throw new UnauthorizedException("This API requires login");
|
||||
}
|
||||
|
||||
DI::auth()->setForUser($a, $record, false, false, false);
|
||||
DI::auth()->setForUser($record, false, false, false);
|
||||
|
||||
Hook::callAll('logged_in', $record);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue