diff options
author | Zach Copley <zach@status.net> | 2009-11-04 21:33:59 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-11-04 21:33:59 -0800 |
commit | fbeae998840fb58ac2fbb8779f14eb2abe74cd08 (patch) | |
tree | 70ee6a32191acd5e1d6a1d5fa5caac744537ee1d | |
parent | f28795656f9250707b2180c93fe9946d5066017b (diff) |
Allow all API calls, even if the site is configured as private. The
API Actions will decide whether something requires auth or a redirect.
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |