Avoid non-validated OTP to be enabled

The OTP code must be required when enabling OTP. If the provided code is wrong, disable OTP, redirect and notice the user.
This commit is contained in:
Jeremy Benoist
2025-04-11 15:46:57 +02:00
parent 01ffc6c3d5
commit 262f674245
4 changed files with 13 additions and 10 deletions

View File

@ -57,5 +57,5 @@ parameters:
-
message: "#^Method FOS\\\\UserBundle\\\\Model\\\\UserManagerInterface\\:\\:updateUser()#"
count: 6
count: 7
path: src/Wallabag/CoreBundle/Controller/ConfigController.php