Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug where SSO would not work with non-English translations.
  • Loading branch information
tburry committed Nov 27, 2011
1 parent 6ad4959 commit 54734ae
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -280,7 +280,7 @@ public function Auth($AuthenticationSchemeAlias = 'default') {
public function Connect($Method) {
$this->AddJsFile('entry.js');
$this->View = 'connect';
$IsPostBack = $this->Form->IsPostBack() && $this->Form->GetFormValue('Connect') == 'Connect';
$IsPostBack = $this->Form->IsPostBack() && $this->Form->GetFormValue('Connect', NULL) !== NULL;

if (!$IsPostBack) {
// Here are the initial data array values. that can be set by a plugin.
Expand Down

0 comments on commit 54734ae

Please sign in to comment.