aboutsummaryrefslogtreecommitdiffstats
path: root/mod/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/api.php')
-rw-r--r--mod/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/api.php b/mod/api.php
index ad75e6620..4fa911f14 100644
--- a/mod/api.php
+++ b/mod/api.php
@@ -87,7 +87,7 @@ function api_content(&$a) {
if(! local_user()) {
//TODO: we need login form to redirect to this page
notice( t('Please login to continue.') . EOL );
- return login(false,$request->get_parameters());
+ return login(false,'api-login',$request->get_parameters());
}
//FKOAuth1::loginUser(4);