I installed Nextcloud 15 on one of my servers and everything went well. After the installation I decided to change a few settings. One of the settings was “Require F2A”. Now After a re-login I get the message to contact a admin because I didn’t add a F2A device.
Lucky enough, I still have access to the CLI (centos 7). Can I edit this setting here that I made on the GUI?
The command seems to deactivate the F2A settings for a user and that is not where I’m looking for. I’m searching for a way to disable the global “force F2A” setting.
Please note that this command now requires the provider ID and requires the provider to support that. This is necessary due to the fact that Nextcloud now keeps track of which providers are enabled/disabled and thus we have to also give providers feedback if the state changes to prevent inconsistencies. The documentation was updated accordingly.
To understand the issue better and possibly prevent this for other users I would like some feedback. Did you see the “Two-factor authentication can be enforced for all users and specific groups. If they do not have a two-factor provider configured, they will be unable to log into the system.” message before you clicked the checkbox and enforced 2FA?