mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:10:13 +00:00
Change back auth
This commit is contained in:
parent
747e8daef6
commit
9e30bd8ff7
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ $called_api = [];
|
||||||
*/
|
*/
|
||||||
function api_user()
|
function api_user()
|
||||||
{
|
{
|
||||||
$user = BaseApi::getCurrentUserID();
|
$user = OAuth::getCurrentUserID();
|
||||||
if (!empty($user)) {
|
if (!empty($user)) {
|
||||||
return $user;
|
return $user;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue