Bladeren bron

Merge pull request #191 from mgzabriskie/master

support password expiration
tags/v0.45.0
Niels Abspoel 6 jaren geleden
bovenliggende
commit
a2fe214817
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 12 en 0 verwijderingen
  1. +12
    -0
      users/init.sls

+ 12
- 0
users/init.sls Bestand weergeven

@@ -167,6 +167,18 @@ users_{{ name }}_user:
- expire: {{ user['expire'] }}
{% endif %}
{% endif -%}
{% if 'mindays' in user %}
- mindays: {{ user.get('mindays', None) }}
{% endif %}
{% if 'maxdays' in user %}
- maxdays: {{ user.get('maxdays', None) }}
{% endif %}
{% if 'inactdays' in user %}
- inactdays: {{ user.get('inactdays', None) }}
{% endif %}
{% if 'warndays' in user %}
- warndays: {{ user.get('warndays', None) }}
{% endif %}
- remove_groups: {{ user.get('remove_groups', 'False') }}
- groups:
- {{ user_group }}

Laden…
Annuleren
Opslaan