From: Zach Copley Date: Sat, 17 Sep 2011 22:50:13 +0000 (-0700) Subject: Make sure the session token gets output no matter what (whoops) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d4ed6db1d87a8109529554bca1f39417907ffe0f;p=quix0rs-gnu-social.git Make sure the session token gets output no matter what (whoops) --- diff --git a/plugins/TwitterBridge/twitterauthorization.php b/plugins/TwitterBridge/twitterauthorization.php index baaf4a1af7..1a7234214e 100644 --- a/plugins/TwitterBridge/twitterauthorization.php +++ b/plugins/TwitterBridge/twitterauthorization.php @@ -363,11 +363,11 @@ class TwitterauthorizationAction extends Action $this->hidden('twuid', $this->twuid); $this->hidden('tw_fields_screen_name', $this->tw_fields['screen_name']); $this->hidden('tw_fields_name', $this->tw_fields['fullname']); + $this->hidden('token', common_session_token()); // Don't allow new account creation if site is flagged as invite only if (common_config('site', 'inviteonly') == false) { $this->elementStart('fieldset'); - $this->hidden('token', common_session_token()); $this->element('legend', null, // TRANS: Fieldset legend. _m('Create new account'));