From a548861dbfec3bd606e8dc565e3cf57876fad9eb Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 21 Oct 2010 14:45:42 -0700 Subject: OAuth - proper callback handling and better styling for authorization page when in desktop mode --- plugins/OpenID/OpenIDPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/OpenID/OpenIDPlugin.php') diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php index d8127aa68..87eab94a2 100644 --- a/plugins/OpenID/OpenIDPlugin.php +++ b/plugins/OpenID/OpenIDPlugin.php @@ -713,7 +713,7 @@ class OpenIDPlugin extends Plugin require_once dirname(__FILE__) . '/openid.php'; oid_assert_allowed($openid_url); - $returnto = common_local_url('ApiOauthAuthorize', array(), + $returnto = common_local_url('apioauthauthorize', array(), array('oauth_token' => $action->arg('oauth_token'))); common_set_returnto($returnto); -- cgit v1.2.3-54-g00ecf