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

Use fortify email method in failed password responses #563

Closed
wants to merge 1 commit into from

Conversation

matgeroe
Copy link

Validation messages from classes FailedPasswordResetLinkRequestResponse and FailedPasswordResetResponse will use email as key.
When using a custom email column, as enabled by the Fortify::email() method, the field in the request and in the response no longer match.

Solved by using the field name provided by Fortify::email() as key in validation response.

@taylorotwell
Copy link
Member

This could break existing applications already working around this.

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

Successfully merging this pull request may close these issues.

2 participants