Add dict default for grafana:conf:users

This commit is contained in:
Antsiferov Grigory 2019-03-27 13:46:18 +03:00
parent 3402a7e5b5
commit cdd83ebc41

View File

@ -128,7 +128,7 @@ disable_gravatar = true
#################################### Users ####################################
[users]
{% set users = conf.get('users') %}
{% set users = conf.get('users', {}) %}
# disable user signup / registration
allow_sign_up = {{ 'true' if users.get('allow-sign-up', False) else 'false' }}