Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 8238cbb

Browse files
author
Jamie Snape
committed
Fix missing CSRF token in googleauth admin form
1 parent 413a02d commit 8238cbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/googleauth/forms/Admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ public function init()
4141
$clientSecret->setRequired(true);
4242
$clientSecret->addValidator('NotEmpty', true);
4343

44-
$this->addDisplayGroup(array($csrf, $clientId, $clientSecret), 'global');
44+
$this->addDisplayGroup(array($clientId, $clientSecret), 'global');
4545

4646
$submit = new Zend_Form_Element_Submit('submit');
4747
$submit->setLabel('Save');
4848

49-
$this->addElements(array($clientId, $clientSecret, $submit));
49+
$this->addElements(array($csrf, $clientId, $clientSecret, $submit));
5050
}
5151
}

0 commit comments

Comments
 (0)