Password change error
This commit is contained in:
parent
558d49a986
commit
2d5cb8cdc6
@ -23,6 +23,7 @@ public function rules(): array
|
||||
{
|
||||
return [
|
||||
'email' => ['sometimes', 'string', 'email', 'max:255', 'unique:users'],
|
||||
'password' => ['sometimes', 'nullable', 'string'],
|
||||
'newPassword' => ['sometimes', 'nullable', 'string', 'min:8', 'confirmed'],
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user