Skip to content

Refactor: Auth controllers to use FormRequest validation #130

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

Closed
wants to merge 2 commits into from

Conversation

DavidDorenbos
Copy link

@DavidDorenbos DavidDorenbos commented Jun 13, 2025

This PR moves the validation logic for the password reset endpoints into dedicated FormRequest classes (ForgotPasswordRequest and ResetPasswordRequest).

It helps keep the controllers clean, makes validation easier to maintain, and follows Laravel’s recommended approach.

No behavior changes — just structure improvements. Let me know if you’d prefer smaller commits or changes here or keep it as is for readability.

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.

1 participant