mirror of
https://github.com/friendica/friendica
synced 2024-11-18 19:43:46 +00:00
Update user.login_date for authenticated API calls
This commit is contained in:
parent
4e5c3157fe
commit
43e6cec200
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ function api_login(App $a)
|
|||
throw new UnauthorizedException("This API requires login");
|
||||
}
|
||||
|
||||
DI::auth()->setForUser($a, $record);
|
||||
DI::auth()->setForUser($a, $record, false, false, true);
|
||||
|
||||
$_SESSION["allow_api"] = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue