Two Factor disabled but still a problem

NC was stable until recent upgrade to 31.0.1. Now, iPhone / iOS client cannot log in.

I have disabled Suspicious Login, Two-Factor Authentication via Nextcloud Notification, and Two Factor TOTP Provider.

I ahve also use the Cl to update the config with occ twofactorauth:enforce --off

And the config file now reads (relevant part):

  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),

So now on the web (browser on laptop), when I try to log in I get this message.

I honestly spend more time trouble shooting NC than I do using it. Very frustrating.

Update - the only way I can solve this without some community help (which may be the same as the solution I have found) is to update the database manually:

select * from oc_twofactor_providers

set the enabled column (flags) to 0.

This should not be necessary.

This should not be necessary.

See 2FA: Provider Removal