Skip to content

Commit

Permalink
Fix form submission and validation (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
deguif authored Sep 16, 2020
1 parent af19732 commit f3bbaa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Form/Handler/AuthorizeFormHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ public function process()
return false;
}

$this->form->handleRequest($request);
if (!$this->form->isValid()) {
if (!$this->form->handleRequest($request)->isSubmitted() || !$this->form->isValid()) {
return false;
}

Expand Down

0 comments on commit f3bbaa0

Please sign in to comment.