Re-camelcase ApiOauthAuthorizeAction so it will be accessible when
a site is in pivate mode
This commit is contained in:
parent
ce0d81c190
commit
0b134d3e69
|
@ -281,7 +281,7 @@ class ShowApplicationAction extends OwnerDesignAction
|
||||||
|
|
||||||
$this->elementStart('dl', 'entity_authorize_url');
|
$this->elementStart('dl', 'entity_authorize_url');
|
||||||
$this->element('dt', null, _('Authorize URL'));
|
$this->element('dt', null, _('Authorize URL'));
|
||||||
$this->element('dd', null, common_local_url('apioauthauthorize'));
|
$this->element('dd', null, common_local_url('ApiOauthAuthorize'));
|
||||||
$this->elementEnd('dl');
|
$this->elementEnd('dl');
|
||||||
|
|
||||||
$this->element('p', 'note',
|
$this->element('p', 'note',
|
||||||
|
|
|
@ -676,7 +676,7 @@ class Router
|
||||||
array('action' => 'ApiOauthAccessToken'));
|
array('action' => 'ApiOauthAccessToken'));
|
||||||
|
|
||||||
$m->connect('api/oauth/authorize',
|
$m->connect('api/oauth/authorize',
|
||||||
array('action' => 'apioauthauthorize'));
|
array('action' => 'ApiOauthAuthorize'));
|
||||||
|
|
||||||
// Admin
|
// Admin
|
||||||
|
|
||||||
|
|
|
@ -713,7 +713,7 @@ class OpenIDPlugin extends Plugin
|
||||||
require_once dirname(__FILE__) . '/openid.php';
|
require_once dirname(__FILE__) . '/openid.php';
|
||||||
oid_assert_allowed($openid_url);
|
oid_assert_allowed($openid_url);
|
||||||
|
|
||||||
$returnto = common_local_url('apioauthauthorize', array(),
|
$returnto = common_local_url('ApiOauthAuthorize', array(),
|
||||||
array('oauth_token' => $action->arg('oauth_token')));
|
array('oauth_token' => $action->arg('oauth_token')));
|
||||||
common_set_returnto($returnto);
|
common_set_returnto($returnto);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user