mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
04.52.2006 c2ad06a75aa654123012f0c44244f55e7bdeec95
opends/src/server/org/opends/server/core/PasswordPolicyState.java
@@ -2249,6 +2249,19 @@
  {
    assert debugEnter(CLASS_NAME, "mustChangePassword");
    // If the password policy doesn't use force change on add or force change on
    // reset, or if it forbits the user from changing their password, then this
    // must return false.
    if (! passwordPolicy.allowUserPasswordChanges())
    {
      return false;
    }
    else if (! (passwordPolicy.forceChangeOnAdd() ||
                passwordPolicy.forceChangeOnReset()))
    {
      return false;
    }
    if ((mustChangePassword == null) ||
        (mustChangePassword == ConditionResult.UNDEFINED))
    {