Browse Source

Changed 'empty_password' key retrieval method

lookup-fix-3
outime 9 years ago
parent
commit
965372d0d2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      users/init.sls

+ 2
- 2
users/init.sls View File

{% if 'password' in user -%} {% if 'password' in user -%}
- password: '{{ user['password'] }}' - password: '{{ user['password'] }}'
{% endif -%} {% endif -%}
{% if 'empty_password' in user -%}
- empty_password: {{ user['empty_password'] }}
{% if user.get('empty_password') -%}
- empty_password: {{ user.get('empty_password') }}
{% endif -%} {% endif -%}
{% if 'enforce_password' in user -%} {% if 'enforce_password' in user -%}
- enforce_password: {{ user['enforce_password'] }} - enforce_password: {{ user['enforce_password'] }}

Loading…
Cancel
Save