Solved is_feature_enabled bug and implemented Dockerfile for moodle

This commit is contained in:
2025-05-16 10:22:54 +02:00
parent 52ba4dc3a1
commit 8ffb6a9cee
5 changed files with 26 additions and 12 deletions

View File

@@ -835,7 +835,7 @@
"secret": "{{oidc.client.secret}}",
{%- set redirect_uris = [] %}
{%- for application, domain in domains.items() %}
{%- if applications[application] is defined and (applications | is_feature_enabled('oauth2',application) or applications | is_feature_enabled('oidc',application)) %}
{%- if applications[application] is defined and (applications | is_feature_enabled('oauth2',application) or applications | is_feature_enabled('oidc',application_id)) %}
{%- if domain is string %}
{%- set _ = redirect_uris.append(web_protocol ~ '://' ~ domain ~ '/*') %}
{%- else %}