Skip to content

Commit f3bbaa0

Browse files
authored
Fix form submission and validation (#643)
1 parent af19732 commit f3bbaa0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Form/Handler/AuthorizeFormHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ public function process()
9393
return false;
9494
}
9595

96-
$this->form->handleRequest($request);
97-
if (!$this->form->isValid()) {
96+
if (!$this->form->handleRequest($request)->isSubmitted() || !$this->form->isValid()) {
9897
return false;
9998
}
10099

0 commit comments

Comments
 (0)