diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-01-19 20:19:56 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-01-23 13:28:24 +0100 |
commit | c416ed485fd318cafb8313679fa33cb65eb88e8e (patch) | |
tree | 6ebdbc2fd0f561c94b24c6458eedb4556bb21aa1 | |
parent | a0c5eb003f1cbeef10d5620e98870c7556e17c75 (diff) | |
download | wallabag-c416ed485fd318cafb8313679fa33cb65eb88e8e.tar.gz wallabag-c416ed485fd318cafb8313679fa33cb65eb88e8e.tar.zst wallabag-c416ed485fd318cafb8313679fa33cb65eb88e8e.zip |
CS
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ConfigController.php | 4 |
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'); |