fix: bug in user template

This commit is contained in:
Adrien Waksberg 2021-12-09 12:23:24 +01:00
parent eea02778a9
commit e3a7c76773
2 changed files with 6 additions and 2 deletions

View file

@ -5,6 +5,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
## [Unreleased]
### Fixed
- bug in user template
## v1.0.0 - 2021-08-15
- first version

View file

@ -9,7 +9,7 @@ object UserGroup "{{ name }}" {
object User "{{ name }}" {
display_name = "{{ user.display_name|default(name) }}"
groups = [ "{{ user.groups|join(', "') }}" ]
groups = [ "{{ user.groups|join('", "') }}" ]
email = "{{ user.email }}"
}
{% endfor %}
@ -17,6 +17,6 @@ object User "{{ name }}" {
object ApiUser "{{ name }}" {
password = "{{ user.password }}"
permissions = [ "{{ user.permissions|join(', "') }}" ]
permissions = [ "{{ user.permissions|join('", "') }}" ]
}
{% endfor %}