Skip to content

Commit

Permalink
Update ConfirmsPasswords.php (#222)
Browse files Browse the repository at this point in the history
password rule was renamed to current_password with the intention of removing it in Laravel 9. Please use the Current Password rule instead.
  • Loading branch information
Hannah Massey authored Feb 10, 2022
1 parent 3b522af commit 1596de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth-backend/ConfirmsPasswords.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function resetPasswordConfirmationTimeout(Request $request)
protected function rules()
{
return [
'password' => 'required|password',
'password' => 'required|current_password:web',
];
}

Expand Down

0 comments on commit 1596de8

Please sign in to comment.