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