Inappropriate message "You are free to choose your password"
Affected version
Version: %2.19.0
Platform: Any
Summary
When no password policy criteria is enabled, but entropy or hibp check, the portal displays that:
You are free to choose your password
which is obviously incorrect. We should take into account hibp and entropy checks.
Possible fix
In Portal/Main/Display.pm
, in DisplayInit, fix isPP property:
$self->isPP( $self->speChars
|| $self->conf->{passwordPolicyMinSize}
|| $self->conf->{passwordPolicyMinLower}
|| $self->conf->{passwordPolicyMinUpper}
|| $self->conf->{passwordPolicyMinDigit}
|| $self->conf->{passwordPolicyMinSpeChar} );