mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 18:30:17 +01:00
CS
This commit is contained in:
parent
a0c5eb003f
commit
c416ed485f
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user