The PasswordConstraintInterface file has an incorrect return type on the validate method. It currently has a boolean return type, but should be PasswordPolicyValidation as the return type, as all the validation plugins currently are returning a PasswordPolicyValidation object.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mroycroft created an issue. See original summary.

mroycroft’s picture

Here's a patch with the proposed fix.

mroycroft’s picture

Status: Active » Needs review
nerdstein’s picture

Assigned: Unassigned » nerdstein

Reviewed, this patch looks good. Thank you.

I will be committing this weekend.

mahalingam_cs’s picture

Status: Needs review » Reviewed & tested by the community

Applied the patch successfully.Tested and verified.

  • nerdstein committed 9de196d on 8.x-3.x authored by mroycroft
    Issue #2728753 by mroycroft: PasswordConstraintInterface has a method...
nerdstein’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.