# Not receiving emails anymore so cannot change settings as admin as TOTP is required

**URL:** <https://forums.rocket.chat/t/not-receiving-emails-anymore-so-cannot-change-settings-as-admin-as-totp-is-required/12124>\
**Category:** Community Support\
**Created:** [September 8, 2021, 8:04am UTC](https://forums.rocket.chat/t/not-receiving-emails-anymore-so-cannot-change-settings-as-admin-as-totp-is-required/12124 "2021-09-08T08:04:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [September 8, 2021, 1:47pm UTC](https://forums.rocket.chat/t/not-receiving-emails-anymore-so-cannot-change-settings-as-admin-as-totp-is-required/12124/2 "2021-09-08T13:47:35Z")

</div>

Hi there!

You can overwrite this option by setting some environment variables, such as:

```
  - OVERWRITE_SETTING_Accounts_TwoFactorAuthentication_Enforce_Password_Fallback=false
  - OVERWRITE_SETTING_Accounts_TwoFactorAuthentication_Enabled=false

```

You can change almost all configuration using this technique.

You can also change directly from the database, if you know how to do it:

> [@Locked out by a two factor authentification loop](https://forums.rocket.chat/t/locked-out-by-a-two-factor-authentification-loop/9648/8):
>
> Thanks man, perfect response

please, let me know if this worked for you.

Thanks!!

---

_[View the full topic](https://forums.rocket.chat/t/not-receiving-emails-anymore-so-cannot-change-settings-as-admin-as-totp-is-required/12124)._
