Skip to content
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

Possible issue when site uses a 2FA plugin #72

Open
elindydotcom opened this issue Oct 12, 2023 · 2 comments
Open

Possible issue when site uses a 2FA plugin #72

elindydotcom opened this issue Oct 12, 2023 · 2 comments

Comments

@elindydotcom
Copy link

I'm seeing white screen "critical error has been encountered" errors when using the magic link to attempt to login to sites with 2FA enabled.

Testing with ithemes security plugin (now solidwp security with the recent rebrand) with 2fa enabled for admins.

I did try with the melapress one as well and got a similar error.

Not sure that this is something that can be resolved but since I didn't see it mentioned in the issues list yet I figured I'd add it.

@aaemnnosttv
Copy link
Owner

Thanks for the report! You said you encountered this with two different 2FA plugins?

Any more information you could provide would be useful, but I'll take a look 👍

@elindydotcom
Copy link
Author

@aaemnnosttv - yeah, the plugins I tested with were these:

https://solidwp.com/security/wordpress-two-factor-authentication/ (premium)
https://wordpress.org/plugins/melapress-login-security/ (free)

I think it should be straight-forward to reproduce. Here's what I just did:

  • I created a new site
  • installed the meltapress 2fa plugin (free from wordpress.org)
  • configured it for just one-time code via email for all users
  • logged out
  • used wp-cli to generate login link
  • navigated to the login link.
  • error.

debug.log showed that the error being thrown in wp-includes/script-loader.php but I suspect that's a bit misleading.

I think this should be easy to reproduce if you're going to try to reproduce it. But if you're not seeing it let me know and I'll go ahead and make a video.

If I remember correctly, the iThemes/SolidWP one had a different error in the debug.log file.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants