XF 2.2 How can I temporary disable google authenticator?

Cannabis Ape

Active member
Phone crashed, had to do factory reset and ofc didn't back up the codes. How can I temp disable authenticator? Got full access to my sever.

A SQL query should do the trick:
UPDATE `xf_user_option` SET `use_tfa` = 0 WHERE user_id = 1;
(replace 1 with your user_id)
There is a simpler way without messing with SQL.

A simple addition to the config file in the /src/config.php of $config['enableTfa'] = false; should allow you to disable it. Then remove that option and then re-enable the 2FA option.
Top Bottom