Improve consistency
This commit is contained in:
parent
27cae3d90c
commit
8cd9cdead0
@ -967,8 +967,8 @@ account_validity:
|
|||||||
#registrations_require_3pid:
|
#registrations_require_3pid:
|
||||||
# - email
|
# - email
|
||||||
# - msisdn
|
# - msisdn
|
||||||
{% if matrix_synapse_registrations_require_3pid %}
|
{% if matrix_synapse_registrations_require_3pid|length > 0 %}
|
||||||
registrations_require_3pid: {{ matrix_synapse_registrations_require_3pid|to_json }}
|
registrations_require_3pid: {{ matrix_synapse_registrations_require_3pid|to_nice_yaml }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Explicitly disable asking for MSISDNs from the registration
|
# Explicitly disable asking for MSISDNs from the registration
|
||||||
@ -986,8 +986,8 @@ registrations_require_3pid: {{ matrix_synapse_registrations_require_3pid|to_json
|
|||||||
# pattern: '.*@vector\.im'
|
# pattern: '.*@vector\.im'
|
||||||
# - medium: msisdn
|
# - medium: msisdn
|
||||||
# pattern: '\+44'
|
# pattern: '\+44'
|
||||||
{% if matrix_synapse_allowed_local_3pids %}
|
{% if matrix_synapse_allowed_local_3pids|length > 0 %}
|
||||||
allowed_local_3pids: {{ matrix_synapse_allowed_local_3pids|to_json }}
|
allowed_local_3pids: {{ matrix_synapse_allowed_local_3pids|to_nice_yaml }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Enable 3PIDs lookup requests to identity servers from this server.
|
# Enable 3PIDs lookup requests to identity servers from this server.
|
||||||
|
Loading…
Reference in New Issue
Block a user