This commit is contained in:
Jeremy Benoist 2019-01-19 20:19:56 +01:00
parent a0c5eb003f
commit c416ed485f
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C
1 changed files with 1 additions and 3 deletions

View File

@ -161,11 +161,9 @@ class ConfigController extends Controller
/** /**
* Enable 2FA using email. * Enable 2FA using email.
* *
* @param Request $request
*
* @Route("/config/otp/email", name="config_otp_email") * @Route("/config/otp/email", name="config_otp_email")
*/ */
public function otpEmailAction(Request $request) public function otpEmailAction()
{ {
if (!$this->getParameter('twofactor_auth')) { if (!$this->getParameter('twofactor_auth')) {
return $this->createNotFoundException('two_factor not enabled'); return $this->createNotFoundException('two_factor not enabled');