check(); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'password_old' => 'required', 'password' => [ 'required', 'confirmed', 'min:8', 'max:255', Password::min(8) ->mixedCase() ->letters() ->numbers() ->symbols() ->uncompromised() ], ]; } }