-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Google 2 Factor Auth - Cog not dissappearing and no message displayed (login and admin) #1819
Comments
I will investigate Thank you for reporting |
I confirm the use regarding the user asking for receiving his QR code by email, but could not reproduce from the Admin side. As I see an error regarding csrfprotector, can you please do the next:
|
Hi, In both cases on our system, the email is sent. However, the spinning cog appears and nothing else happens on the screen. This leaves the cog displayed and spinning indefinitely. For an admin, it means you have to refresh the screen to stop the spinning cog displaying and for a normal user the cog stays on the screen too and is right over the top of the QR code. I've added the update to out csrfp.config.php file. Thank you for that. I will test it and post the results :) |
This is fixed and committed in Developmnent branch |
Thank you for fixing it and thanks for such a great product. |
This bug is back in 2.1.27.10. |
After tested again, I could not reproduce. |
I upgraded from 2.1.27.7 (and 2.1.27.1 before that), so maybe I didn't do that right? (I had to manually apply the fix mentioned above to the includes/libraries/csrfp/libs/csrfp.config.php file.) |
Steps to reproduce
Expected behaviour
Tell us what should happen
For both the admin user and the end user I would expect the cog to disappear and a message saying "sent" to appear.
Actual behaviour
Tell us what happens instead
The cog stays on the screen spinning until you refresh the page.
Server configuration
Operating system:
ubuntu 16
Web server:
LAMP (apache)
Database:
MySQL
PHP version:
7.1
Teampass version:
2.1.27.7
Updated from an older Teampass or fresh install:
Updated from 2.1.27
Client configuration
Browser:
Firefox and Google Chrome
Operating system:
Ubuntu
Logs
Web server error log
Firebug log (How to?)
Admin page, no errors. Two POST requests to sources/main.queries.php
REQUEST 1- type=ga_generate_qr&id=10000000&send_email=1&be938143f01b5b0af0d9a905fd3041406309c0f134cc6b2819=7345
6748583c4c4bbc419e7f6ac58c1c4f27887f3f534446a0
RESPONSE 1 - [{"error" : "not_allowed"}][{ "error" : "0" , "email" : "##redacted##" , "msg" : "Email sent to ###REDACTED## ... check your inbox."}]
REQUEST 2 - type=is_existings_suggestions&key=Ohcaethibikeezoh6eeghe8xee0aes2aita9uZaeph0ahfot8a&be938143f01b5b0af0d9a905fd3041406309c0f134cc6b2819
=73456748583c4c4bbc419e7f6ac58c1c4f27887f3f534446a0
RESPONSE 2 - [ { "error" : "" , "count" : "0" , "show_sug_in_menu" : "0"} ]
User attempting to request a QR code in the log in page - Firebug breaks in the csrfprotector.js file at line 272
return this.old_send(data); // Failed to load resource: the server responded with a status of 500()
The text was updated successfully, but these errors were encountered: