Make OIDC providers if check safer

master
Slavi Pantaleev 8 months ago committed by GitHub
parent 9167a7734e
commit c0e56ac1c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2090,7 +2090,7 @@ saml2_config:
# use 'oidc' for the idp_id to ensure that existing users continue to be
# recognised.)
#
{% if matrix_synapse_oidc_enabled %}
{% if matrix_synapse_oidc_enabled and matrix_synapse_oidc_providers | length > 0 %}
# Generic example
#matrix_synapse_oidc_providers:
#- idp_id: my_idp

Loading…
Cancel
Save