New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TFA setup not working properly #8

talhaparacha opened this Issue Aug 6, 2016 · 0 comments


None yet
1 participant
Copy link

talhaparacha commented Aug 6, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment