diff options
author | Zach Copley <zach@status.net> | 2010-09-22 23:30:50 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-09-22 23:33:06 +0000 |
commit | 84331ca7bd2a93283762b638eb25bbbd7d5e36f7 (patch) | |
tree | eb043f8ea77c833b67d099778d6fb16244ad2409 /actions | |
parent | 870be512d23f4f6dadb97a72fec45a9596ac62ef (diff) |
Fix for ticket 2756 - Calls to OAuth endpoints are redirected to the
login page when a site is in private mode
Diffstat (limited to 'actions')
-rw-r--r-- | actions/apioauthauthorize.php | 2 |
1 files changed, 1 insertions, 1 deletions
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')); |