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

Make sure confirmPassword uses the currently active login plugin, not always "Login". #16281

Merged
merged 1 commit into from Aug 10, 2020

Conversation

diosmosis
Copy link
Member

Two factor auth on 4.x-dev w/ LoginLdap fails currently due to the confirm password workflow. The code will try to use the current login plugin's twig template for confirmPassword (since custom login controllers must inherit from Login's Controller). Usually this isn't defined.

This change forces use of @Login/confirmPassword and sends the request to the currently configured Login plugin. Tested with LoginLdap using an LDAP user and it appears to work.

@diosmosis diosmosis added the Needs Review PRs that need a code review label Aug 10, 2020
@diosmosis diosmosis added this to the 4.0.0 milestone Aug 10, 2020
@tsteur tsteur merged commit fc08d43 into 4.x-dev Aug 10, 2020
@tsteur tsteur deleted the loginldap-fix branch August 10, 2020 19:55
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants