[TUTORIAL] Can't login to GUI after TFA has been disabled

cglmicro

Active Member
Oct 12, 2020
108
13
38
52
If you ever disable (not delete) TFA in the GUI, and this TFA was only having 1 method (i.e.: OTP), you may face this bug: you can't no longer log in the GUI since it ask for a TFA, but no method are enabled.

Method #1:
Don't panic, just log in SSH to your master and rename the /etc/pmg/tfa.conf to /etc/pmg/tfa.conf_backup and you'll be able to log in the GUI to recreate the TFA.

Method #2:
If you just want to reenable the same TFA, just edit the /etc/pmg/tfa.conf to change:
Code:
..."enable":false...
for:
Code:
..."enable":true...