-
Notifications
You must be signed in to change notification settings - Fork 156
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
Block creating authentication cookies when inappropriate to do so. #490
Conversation
…er through wp-login.php for two-factor verification.
This appears to be impacting the core workflows used by this plugin. Could we please add some unit tests to go with these changes? |
I wasn't able to determine how best to add unit testing here, given the plugin doesn't appear to currently test it. Do you have any suggestions @kasparsd? |
This seems to work in my manual tests. @kasparsd , do you have any thoughts on the 2 comments above about automated tests? |
Co-authored-by: Ian Dunn <ian@iandunn.name>
Closing in favour of #502 which has been merged. |
As noted in #406 and #385 it's possible for plugins to accidentally bypass the two-factor requirement by setting cookies directly.
See #406 (comment) for more detailed reasonings.
Fixes #406, #385