alexandregz / twofactor_gauthenticator

This RoundCube plugin adds the 2-step verification(OTP) to the login proccess
MIT License
216 stars 76 forks source link

How to disable 2FA for dedicated user #113

Closed cmonty14 closed 4 years ago

cmonty14 commented 4 years ago

Hi, I must disable 2FA for a dedicated user because this user has lost his authentication code.

I found this instructions: "To deactivate the plugin, you can use two methods: To only one user: restore the user prefs from DB to null (rouncubeDB.users.prefs) -the user plugin options stored there."

Can you please advise how to implement this?

I've found this issue, but I don't understand how to apply the solution.

THX

cmonty14 commented 4 years ago

Solved by deleting anything in column "preferences".