Sfoglia il codice sorgente

Fixed typo and 'empty_password' key check

lookup-fix-3
outime 9 anni fa
parent
commit
441d3cb635
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      users/init.sls

+ 2
- 2
users/init.sls Vedi File

@@ -78,10 +78,10 @@ users_{{ name }}_user:
{% if 'uid' in user -%}
- uid: {{ user['uid'] }}
{% endif -%}
{% if 'password in user -%}
{% if 'password' in user -%}
- password: '{{ user['password'] }}'
{% endif -%}
{% if empty_password is defined -%}
{% if 'empty_password' in user -%}
- empty_password: {{ user['empty_password'] }}
{% endif -%}
{% if 'enforce_password' in user -%}

Loading…
Annulla
Salva