]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
CS
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 19 Jan 2019 19:19:56 +0000 (20:19 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 23 Jan 2019 12:28:24 +0000 (13:28 +0100)
src/Wallabag/CoreBundle/Controller/ConfigController.php

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