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 PasswordValidationRules trait in CreateNewUser action #18

Merged
merged 1 commit into from
Sep 9, 2020
Merged

Use PasswordValidationRules trait in CreateNewUser action #18

merged 1 commit into from
Sep 9, 2020

Conversation

nathanheffley
Copy link
Contributor

Currently, the CreateNewUser action has the exact same list of rules as the PasswordValidationRules trait that is used by ResetUserPassword and UpdateUserPassword. None of the projects I've worked on have ever purposefully had different validation rules between creating a password or updating it, and by having the same list in multiple places it is likely that some developers will miss the difference and make one way (creating versus updating/resetting) less secure than the other.

@taylorotwell taylorotwell merged commit 4be9953 into laravel:1.x Sep 9, 2020
@nathanheffley nathanheffley deleted the patch-1 branch September 9, 2020 02:13
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.

None yet

2 participants