Tests ...

This commit is contained in:
Michael 2021-06-11 06:05:42 +00:00
parent 0ecef26064
commit 5960582dcf

View file

@ -95,11 +95,6 @@ function api_user()
return $user;
}
$user = BasicAuth::getCurrentUserID(false);
if (!empty($user)) {
return $user;
}
if (!empty($_SESSION['allow_api'])) {
return local_user();
}