We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit fbeae998 authored by Zach Copley's avatar Zach Copley

Allow all API calls, even if the site is configured as private. The

API Actions will decide whether something requires auth or a redirect.
parent f2879565
......@@ -239,6 +239,7 @@ function main()
if (!$user && common_config('site', 'private')
&& !isLoginAction($action)
&& !preg_match('/rss$/', $action)
&& !preg_match('/^Api/', $action)
) {
common_redirect(common_local_url('login'));
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment