Making the tests work

This commit is contained in:
Michael 2021-06-11 06:02:56 +00:00
parent e492650d1b
commit 0ecef26064

View file

@ -100,6 +100,10 @@ function api_user()
return $user;
}
if (!empty($_SESSION['allow_api'])) {
return local_user();
}
return false;
}