mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
Renaming functions + moving functions from security to Model/Item and BaseModule + fix multiline comments
This commit is contained in:
parent
ce2b1f5715
commit
f3fc1f36ca
29 changed files with 233 additions and 222 deletions
|
@ -242,7 +242,7 @@ function api_login(App $a)
|
|||
throw new UnauthorizedException("This API requires login");
|
||||
}
|
||||
|
||||
Authentication::success($record);
|
||||
Authentication::setAuthenticatedSessionForUser($record);
|
||||
|
||||
$_SESSION["allow_api"] = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue