Created
September 25, 2019 08:33
-
-
Save JWPapi/3009ef007b980b693e384bc458e2d4f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$form = $this->createFormBuilder() | |
->add('username', TextType::class) | |
->add('password', TextType::class) | |
->add('save', SubmitType::class, ['label' => 'Add Account']) | |
->getForm(); | |
$twoFactorform = $this->createFormBuilder() | |
->add('Code', TextType::class) | |
->getForm(); | |
$form->handleRequest($request); | |
#???$twoFactorform->handleRequest($request);????? | |
if ($twoFactorform->Submitted()) { | |
} | |
if ($form->isSubmitted()) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment