mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-30 19:35:33 +01:00
Changed 'empty_password' key retrieval method
This commit is contained in:
parent
441d3cb635
commit
965372d0d2
@ -81,8 +81,8 @@ users_{{ name }}_user:
|
||||
{% if 'password' in user -%}
|
||||
- password: '{{ user['password'] }}'
|
||||
{% endif -%}
|
||||
{% if 'empty_password' in user -%}
|
||||
- empty_password: {{ user['empty_password'] }}
|
||||
{% if user.get('empty_password') -%}
|
||||
- empty_password: {{ user.get('empty_password') }}
|
||||
{% endif -%}
|
||||
{% if 'enforce_password' in user -%}
|
||||
- enforce_password: {{ user['enforce_password'] }}
|
||||
|
Loading…
Reference in New Issue
Block a user