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

Update error response of password reset, so that they reflect the correct input name for email #594

Closed

Conversation

SanderSander
Copy link

@SanderSander SanderSander commented Feb 19, 2025

Currently the default FailedPasswordResetLinkRequestResponse and FailedPasswordResetResponse return the error message on the hardcoded name "email".

In the Controllers Fortify::email() is used to validate the incoming requests, but this configuration option is not reflected in the response classes.

@SanderSander SanderSander force-pushed the fix-email-field-response branch from c912434 to c29df37 Compare February 19, 2025 09:35
@SanderSander SanderSander force-pushed the fix-email-field-response branch from c29df37 to 2149c29 Compare February 19, 2025 09:36
@SanderSander SanderSander changed the title Update error response, so that they reflect the correct input name for email Update error response of password reset, so that they reflect the correct input name for email Feb 19, 2025
@taylorotwell
Copy link
Member

Breaking change.

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