Once TFA has been enabled in a website, any user with "require tfa" permission is supposed to setup TFA for his account first. After the setup is done, he is supposed to use OTPs for subsequent logins to the website.
But I'm not able to setup TFA for my account. Here are the steps to reproduce the bug:
1) Login with the root user account.
2) Install and enable TFA & GA_LOGIN modules.
3) Enable TFA for the website from the module settings.
4) Logout from the website.
5) Login again with the root user account.
6) Since the user has not setup TFA for his account yet, he is asked to go to the setup page.
7) In the TFA setup page, the expected output should be this:
But instead here is what I'm getting:
Through experimentation, I've found out a way to setup TFA properly for my account:
1) Click the "Reset application" link & proceed accordingly.
2) Logout & Login again.
3) Go to the TFA setup page and click on "Disable TFA" link & proceed accordingly.
4) Go to the TFA setup page and click on "Enable TFA" link & proceed accordingly.
After following these additional steps, I'm able to use the TFA module as expected.
Once TFA has been enabled in a website, any user with "require tfa" permission is supposed to setup TFA for his account first. After the setup is done, he is supposed to use OTPs for subsequent logins to the website.
But I'm not able to setup TFA for my account. Here are the steps to reproduce the bug:
1) Login with the root user account. 2) Install and enable TFA & GA_LOGIN modules. 3) Enable TFA for the website from the module settings. 4) Logout from the website. 5) Login again with the root user account. 6) Since the user has not setup TFA for his account yet, he is asked to go to the setup page.
7) In the TFA setup page, the expected output should be this:
But instead here is what I'm getting:
Through experimentation, I've found out a way to setup TFA properly for my account:
1) Click the "Reset application" link & proceed accordingly. 2) Logout & Login again. 3) Go to the TFA setup page and click on "Disable TFA" link & proceed accordingly. 4) Go to the TFA setup page and click on "Enable TFA" link & proceed accordingly.
After following these additional steps, I'm able to use the TFA module as expected.