Skip to content

Commit e65fa36

Browse files
Hannah Masseyjessarcher
Hannah Massey
authored andcommitted
Update ConfirmsPasswords.php (#222)
password rule was renamed to current_password with the intention of removing it in Laravel 9. Please use the Current Password rule instead.
1 parent cd1983e commit e65fa36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth-backend/ConfirmsPasswords.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected function resetPasswordConfirmationTimeout(Request $request)
5555
protected function rules()
5656
{
5757
return [
58-
'password' => 'required|password',
58+
'password' => 'required|current_password:web',
5959
];
6060
}
6161

0 commit comments

Comments
 (0)