Fix change password validation rule not checking for confirmation

This commit is contained in:
Bubka 2021-10-03 22:09:39 +02:00
parent 69c3f08f7b
commit c27bef1819

View File

@ -25,7 +25,7 @@ public function rules()
{
return [
'currentPassword' => 'required',
'password' => 'required|string|min:8',
'password' => 'required|confirmed|string|min:8',
];
}
}