21 Validator::make($input, [
22 'current_password' => [
'required',
'string',
'current_password:web'],
23 'password' => $this->passwordRules(),
25 'current_password.current_password' => __(
'The provided password does not match your current password.'),
26 ])->validateWithBag(
'updatePassword');
29 'password' => Hash::make($input[
'password']),