Skip to content

Commit 1596de8

Browse files
author
Hannah Massey
authored
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 3b522af commit 1596de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth-backend/ConfirmsPasswords.php

+1-1
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)