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()
|
||||
{
|
||||
$user = BaseApi::getCurrentUserID();
|
||||
$user = OAuth::getCurrentUserID();
|
||||
if (!empty($user)) {
|
||||
return $user;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue