Fix an actual okay error where Synapse uses double curly braces in its config
This commit is contained in:
parent
f35e8f9eca
commit
46e0dff885
@ -1617,13 +1617,13 @@ oidc_config:
|
|||||||
#
|
#
|
||||||
# This must be configured if using the default mapping provider.
|
# This must be configured if using the default mapping provider.
|
||||||
#
|
#
|
||||||
localpart_template: "{{ user.preferred_username }}"
|
localpart_template: "{{ '{{' }} user.preferred_username {{ '}}' }}"
|
||||||
|
|
||||||
# Jinja2 template for the display name to set on first login.
|
# Jinja2 template for the display name to set on first login.
|
||||||
#
|
#
|
||||||
# If unset, no displayname will be set.
|
# If unset, no displayname will be set.
|
||||||
#
|
#
|
||||||
#display_name_template: "{{ user.given_name }} {{ user.last_name }}"
|
#display_name_template: "{{ '{{' }} user.given_name {{ '}}' }} {{ '{{' }} user.last_name {{ '}}' }}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user