Hide "Disable 2FA" button on login screen

Is it possible to hide the “Disable 2FA” button on the login screen? Maybe there is a config option?

I don’t want an attacker to be able to breach my email in order to bypass 2FA. I can disable it via SQL if I need to.

Hi,

The disable 2FA option won’t work on a selfhost install, we’ll look into hiding the option.

I’ve looked into this, we’re already hiding this option for selfhost installs.

Are you using the React app or the Flutter app?

The newer one. I think that’s React

Thanks, we’ll look into it.

cc @david