Always return 'HardExpiry' for account password policy. (#3117)
Co-authored-by: Nick B Gander <NGANDER@amfam.com>
This commit is contained in:
parent
766f527d37
commit
069c159492
@ -2423,9 +2423,7 @@ GET_ACCOUNT_PASSWORD_POLICY_TEMPLATE = """<GetAccountPasswordPolicyResponse xmln
|
||||
<PasswordPolicy>
|
||||
<AllowUsersToChangePassword>{{ password_policy.allow_users_to_change_password | lower }}</AllowUsersToChangePassword>
|
||||
<ExpirePasswords>{{ password_policy.expire_passwords | lower }}</ExpirePasswords>
|
||||
{% if password_policy.hard_expiry %}
|
||||
<HardExpiry>{{ password_policy.hard_expiry | lower }}</HardExpiry>
|
||||
{% endif %}
|
||||
{% if password_policy.max_password_age %}
|
||||
<MaxPasswordAge>{{ password_policy.max_password_age }}</MaxPasswordAge>
|
||||
{% endif %}
|
||||
|
@ -2608,6 +2608,7 @@ def test_update_account_password_policy():
|
||||
"RequireNumbers": False,
|
||||
"RequireSymbols": False,
|
||||
"RequireUppercaseCharacters": False,
|
||||
"HardExpiry": False,
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user