2FA self installation

Good day

I have 2FA enabled on a self installation of Invoice Ninja and can’t log into because I no longer have access to my code generator on my phone because my phone is damaged. Please advise on how to unlock or disable 2FA.

Thanks

Hi,

You can disable 2FA using this SQL query:

update users set google_2fa_secret = null, remember_2fa_token = null where id = 1;

It worked! :smiley: Thank you!!!