app/Http/Livewire/Form/AccountForm.php: Change "password" validator rule to "current_password"
This commit is contained in:
parent
083f0a0c8f
commit
6ac01418f3
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class AccountForm extends Component
|
|||
protected function rules()
|
||||
{
|
||||
return [
|
||||
'password_current' => ['required', 'password'],
|
||||
'password_current' => ['required', 'current_password'],
|
||||
'password' => [Password::min(8)->letters()->mixedCase()->numbers(), 'confirmed']
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue