From 77609e0c4a1b76748ab320027b0696aced92b52c Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 22 Sep 2010 23:30:50 +0000 Subject: Fix for ticket 2756 - Calls to OAuth endpoints are redirected to the login page when a site is in private mode --- actions/apioauthauthorize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions') diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php index e7c6f3761..c2fbbcdd8 100644 --- a/actions/apioauthauthorize.php +++ b/actions/apioauthauthorize.php @@ -270,7 +270,7 @@ class ApiOauthAuthorizeAction extends ApiOauthAction $this->elementStart('form', array('method' => 'post', 'id' => 'form_apioauthauthorize', 'class' => 'form_settings', - 'action' => common_local_url('apioauthauthorize'))); + 'action' => common_local_url('ApiOauthAuthorize'))); $this->elementStart('fieldset'); $this->element('legend', array('id' => 'apioauthauthorize_allowdeny'), _('Allow or deny access')); -- cgit v1.2.3-54-g00ecf