Reset 2FA settings for user


#1
  1. have own installation of rocket.chat
  2. user enables 2FA
  3. user loses phone

is the account lost forever? is there a way for me as admin to reset a specific user’s 2FA settings?


#2

I could not find any option in the Admin to reset the TOTP (2FA) code for a particular user.

The only solution is to run a query to update the mongo DB directly:

db.users.update({"username": "USERNAMEHERE"}, {"$unset":{"services.totp": 1}});