-
Notifications
You must be signed in to change notification settings - Fork 18
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 Authenticator QR code - 'Continue' button not working #14
Comments
There is error in browser Console: Refused to execute script from 'https://myservername.com/js/index.php/x.js?f=prototype/prototype.js,pr…s,mage/adminhtml/events.js,mage/adminhtml/form.js,scriptaculous/effects.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. They told (it's seems to me): we need to comment with # one line in .htaccess file of store: SOLUTION IS: Remove this header to prevent browser performing the MIME check. If we do actions: There are logs (but you just make change by yourself to your .htaccess file: 2016-12-20T08:39:14+00:00 EMERG (0): googleAction start |
Why are you pulling your js files with https://myservername.com/js/index.php/x.js?f=prototype/prototype.js ? |
this js call was added by exactly your module here at line 58: /app/design/adminhtml/default/default/template/he_twofactor/google/auth.phtml |
Sorry, too early in the morning :) This is the first time this issue is reported, let me check this and get back to you. |
Have you checked the bug ? |
Still working on it. What have you tried so far to fix this? Feel free to submit a PR with your fixes while we work on this. |
Now I commented with # one line in .htaccess file of store: |
I can confirm the same issue as reported here when using the devel branch. I don't have the nosniff header in my .htaccess to comment it out. I will add that I also see the following two errors:
|
Was able to resolve this by changing js/index.php at line 45 to be true instead of false:
After making this update the script is working correctly and I'm able to access the admin using Magento 1.9.3.0 and the devel branch of this project. |
Reported via email.
May be related to #10
The text was updated successfully, but these errors were encountered: