Without ga_login, site login works as expected.

With ga_login installed, site login -- using the Authenticator code -- works most of the time.

Every once in a random while -- no, I haven't figure out what causes it -- on GA code entry/submit, I get:

"You don't have a login code yet. This login will only work once. After you log in, you can go to your profile page to generate the GA login code."

I DO get logged-in, and things are back to normal -- until it 'randomly' happens again.

Comments

attiks’s picture

Assigned: Unassigned » jelle_s
attiks’s picture

I tried to reproduce it, but no luck.

When it happens is there still a record inside the table ga_login?

jelle_s’s picture

Assigned: jelle_s » Unassigned
Status: Active » Closed (cannot reproduce)
MiMe’s picture

Not working for me either...

I have the module installed and I created a TOTP token and successfully added it to the Google Android app...
when check checkbox and click save the page turns white... I guess that it got saved, not sure.
When I then logout I see a code textfield... but I intentionally left it blank to see if this module worked... and I got logged in without any errors or informations... nada.

A row for my user is saved in the ga_table, so there must be some sort of bug when I'm allowed to login without entering a code.
For starters I see that the "code" is not a mandatory field... I guess if you add that it might work :)

btw, a row is saved (updated) in the ga_login table when I visit the users Ga Login tab and press the "create code" button. Shouldn't the data only be saved when you have checked the "I have successfully scanned the current code"...