Use to_json

This commit is contained in:
Slavi Pantaleev 2022-01-04 09:18:31 +02:00 committed by GitHub
parent 993121e517
commit f0d7a8e99d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,8 +73,8 @@
},
{% if matrix_etherpad_admin_username != "" and matrix_etherpad_admin_password != "" %}
"users": {
"{{ matrix_etherpad_admin_username }}": {
"password": "{{ matrix_etherpad_admin_password }}",
{{ matrix_etherpad_admin_username|to_json }}: {
"password": {{ matrix_etherpad_admin_password|to_json }},
"is_admin": true
}
},