From 1596de849ecafc0bcc891389da939012b67f9d5c Mon Sep 17 00:00:00 2001 From: Hannah Massey <64495914+hannah-massey@users.noreply.github.com> Date: Fri, 11 Feb 2022 01:38:33 +0300 Subject: [PATCH] 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. --- auth-backend/ConfirmsPasswords.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth-backend/ConfirmsPasswords.php b/auth-backend/ConfirmsPasswords.php index 711c0d0..cc2abba 100644 --- a/auth-backend/ConfirmsPasswords.php +++ b/auth-backend/ConfirmsPasswords.php @@ -55,7 +55,7 @@ protected function resetPasswordConfirmationTimeout(Request $request) protected function rules() { return [ - 'password' => 'required|password', + 'password' => 'required|current_password:web', ]; }