To disable 2FA in Webmin:
- in /etc/webmin/miniserv.conf, remove
twofactor_provider=totp - in /etc/webmin/miniserv.users, replace something like
root:x:0:::::::0:0:totp:HBL7W4RTGXT6FG8W:with something likeroot:x:0:::::::0:0::HBL7W4RTGXT6FG8W: - restart Webmin with
service webmin restart
See if you can login now with your old login and password, @Steini