Help with Two Factor when SMTP isnt configured

Description

Just installed my RocketChat Server on Ubuntu as per the procedure. But I never configured and SMTP server, and now its asking for two factor, but it can’t send emails.

How can I disable two factor in the DB directly? I dont know much about Mongo

Its also asking me for the code when trying to configure smnt… so kind of a chicken and the egg scenario…

Server Setup Information

  • Version of Rocket.Chat Server: 3.7.0
  • Operating System: Ubuntu 20.04
  • Deployment Method: manual
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 12.14.0
  • MongoDB Version: 4.0.20
  • Proxy: nginx
  • Firewalls involved: n/a