Solved concate bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-04-24 13:12:02 +02:00
parent 250f26e03c
commit f27076a5cc
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -837,10 +837,10 @@
{%- for application, domain in domains.items() %}
{%- if applications[application] is defined and (applications | get_oauth2_enabled(application) or applications | get_oidc_enabled(application)) %}
{%- if domain is string %}
{%- set _ = redirect_uris.append("{{ web_protocol }}://{}/*".format(domain)) %}
{%- set _ = redirect_uris.append(web_protocol ~ '://' ~ domain ~ '/*') %}
{%- else %}
{%- for d in domain %}
{%- set _ = redirect_uris.append("{{ web_protocol }}://{}/*".format(d)) %}
{%- set _ = redirect_uris.append(web_protocol ~ '://' ~ d ~ '/*') %}
{%- endfor %}
{%- endif %}
{%- endif %}