mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Week 24/2022
This commit is contained in:
parent
bd6a684102
commit
a955c3968b
12 changed files with 138 additions and 1 deletions
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: 'You can customize default validation rules for passwords'
|
||||
tweet_id: '1538579140147699712'
|
||||
thread_slug: weekly-thread-2022-24
|
||||
author_username: ecrmnn
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FUqvZeiVEAAsdBC.jpg'
|
||||
created_at: 2022-06-19T17:47:07+00:00
|
||||
slug: 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue