Disable 2-factor authentication

Hi sbouet and welcome to the forum!

Did I get that right, you activated the 2FA for your admin user and can now no longer login with that user?

If you have SSH access to your server, you can use the OCC commands to deactivate the 2FA option for a certain user.

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#two-factor-auth-label