aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index 2643eed0..ed92c999 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -161,11 +161,9 @@ class ConfigController extends Controller
161 /** 161 /**
162 * Enable 2FA using email. 162 * Enable 2FA using email.
163 * 163 *
164 * @param Request $request
165 *
166 * @Route("/config/otp/email", name="config_otp_email") 164 * @Route("/config/otp/email", name="config_otp_email")
167 */ 165 */
168 public function otpEmailAction(Request $request) 166 public function otpEmailAction()
169 { 167 {
170 if (!$this->getParameter('twofactor_auth')) { 168 if (!$this->getParameter('twofactor_auth')) {
171 return $this->createNotFoundException('two_factor not enabled'); 169 return $this->createNotFoundException('two_factor not enabled');