Change back auth
This commit is contained in:
parent
747e8daef6
commit
9e30bd8ff7
|
@ -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…
Reference in a new issue