mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
613 B
613 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| You can customize default validation rules for passwords | 1538579140147699712 | weekly-thread-2022-24 | ecrmnn |
|
2022-06-19T17:47:07+00:00 | you-can-customize-default-validation-rules-for-passwords |
You can specify the default validation rules for passwords in a single location of your Laravel app 🔐
Create a custom provider or use the AppServiceProvider. Then use Password::defaults() as validation rule ✅
You can have different defaults depending on the app environment.