summaryrefslogtreecommitdiff
path: root/actions/apioauthauthorize.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-10-22 02:08:38 +0000
committerZach Copley <zach@status.net>2010-10-22 02:08:38 +0000
commit131c339c5ab61196fc0628b313221431e2fe421c (patch)
tree566a68dede7c302cbd5419b9c08615fadeacddf7 /actions/apioauthauthorize.php
parentac45f661f6eb34755338bc16df3bcc6db391c3c2 (diff)
Pass OAuth authorize page's mode paramater to OpenID plugin so it can create a correct
returnto URL
Diffstat (limited to 'actions/apioauthauthorize.php')
-rw-r--r--actions/apioauthauthorize.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php
index 74f75ff66..9929c36c0 100644
--- a/actions/apioauthauthorize.php
+++ b/actions/apioauthauthorize.php
@@ -379,6 +379,7 @@ class ApiOauthAuthorizeAction extends Action
_('Allow or deny access'));
$this->hidden('token', common_session_token());
+ $this->hidden('mode', $this->mode);
$this->hidden('oauth_token', $this->oauthTokenParam);
$this->hidden('oauth_callback', $this->callback);