Skip to content

Commit

Permalink
Monitoring_ConfigController: don't use SecurityForm::isSubmittedAndVa…
Browse files Browse the repository at this point in the history
…lid()

refs #5525
  • Loading branch information
Al2Klimov committed Aug 21, 2014
1 parent b81e965 commit d1b1bc3
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -257,8 +257,8 @@ public function securityAction()

$form = new SecurityForm();
$form->setConfiguration($this->Config()->get('security'));
$form->setRequest($this->getRequest());
if ($form->isSubmittedAndValid()) {
$request = $this->getRequest();
if ($request->isPost() && $form->isValid($request->getPost())) {
$config = $this->Config()->toArray();
$config['security'] = $form->getConfig();
if ($this->writeConfiguration(new Zend_Config($config))) {
Expand Down

0 comments on commit d1b1bc3

Please sign in to comment.