diff --git a/roles/owncloud/templates/env.j2 b/roles/owncloud/templates/env.j2 index 505b765..17d0957 100644 --- a/roles/owncloud/templates/env.j2 +++ b/roles/owncloud/templates/env.j2 @@ -3,9 +3,9 @@ WEB_LOG_LEVEL=info WEB_LOG_FILE={{cfg_owncloud.directory}}/log/web WEB_LOG_PRETTY=true WEB_LOG_COLOR=true -{% if cfg_owncloud.authentication_kind == 'internal' %} +{% if cfg_owncloud.authentication.kind == 'internal' %} {% endif %} -{% if cfg_owncloud.authentication_kind == 'authelia' %} +{% if cfg_owncloud.authentication.kind == 'authelia' %} WEB_OIDC_AUTHORITY={{cfg_owncloud.authentication.data.url_base}} WEB_OIDC_CLIENT_ID={{cfg_owncloud.authentication.data.web.client_id}} WEB_OIDC_RESPONSE_TYPE=code