src/Model/UserValidationTrait.php
public function validationPasswordReset(Validator $validator) {
		return $this->validateOldPassword($validator)
			->validatePassword($validator)
			->validateConfirmPassword($validator);
	}
public function validationPasswordReset(Validator $validator) {
		return $this->validateOldPassword($validator)
			->validatePassword($validator)
			->validateConfirmPassword($validator);
	}
public function validationPasswordReset ( Validator $ validator ) { return $ this -> validateOldPassword ( $ validator ) -> validatePassword ( $ validator ) -> validateConfirmPassword ( $ validator ) ; }
Validates the password reset.

Override it as needed to change the rules for only that field.

@param \Cake\Validation\Validator $validator Validator
@return \Cake\Validation\Validator
Validates the password reset .