OTP Not Working When Attempting To Login

I have a Scale server that I have not booted up since some time in 2024. It has 2FA enabled with the OTP prompt coming up when I try to login. I did have some discrepancies between server time and the 2FA app I’m using but they are on the same time zone/date and time now. I tried SSH but that apparently is set to request a OTP as well. I’ve not been able to find any related issues that are NOT time related. The 2FA app does work with other sites.

If I were to default the system, I do have backups of the config but I’m not sure when I enabled 2FA. So I could just get back to being locked out again, as soon as I upload the backup config.

Any suggestions would be great, thank you.

If you have physical access to the server you can connect keyboard / monitor and manually disable 2FA from console.

Hi @awalkerix Thank you for responding.
I tried using this
`midclt call auth.twofactor.update ‘{“enabled”: false}’
And I got
[EINVAL]auth_twofactor_update: a dict was expected

Is my syntax not correct?

Holy crap…
Just needed to reset the password to disable 2FA. My sincere apologies…duh