mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 10:47:32 +01:00
Add registrations_require_3pid synapse option
This commit is contained in:
parent
5f2f17cb1e
commit
958ad68078
@ -114,6 +114,9 @@ matrix_synapse_use_presence: true
|
|||||||
# Controls whether people with access to the homeserver can register by themselves.
|
# Controls whether people with access to the homeserver can register by themselves.
|
||||||
matrix_synapse_enable_registration: false
|
matrix_synapse_enable_registration: false
|
||||||
|
|
||||||
|
# A list of 3PID types which users must supply when registering (possible values: email, msisdn).
|
||||||
|
matrix_synapse_registrations_require_3pid: []
|
||||||
|
|
||||||
# Users who register on this homeserver will automatically be joined to these rooms.
|
# Users who register on this homeserver will automatically be joined to these rooms.
|
||||||
# Rooms are to be specified using addresses (e.g. `#address:example.com`)
|
# Rooms are to be specified using addresses (e.g. `#address:example.com`)
|
||||||
matrix_synapse_auto_join_rooms: []
|
matrix_synapse_auto_join_rooms: []
|
||||||
|
@ -671,6 +671,9 @@ enable_registration: {{ matrix_synapse_enable_registration|to_json }}
|
|||||||
#registrations_require_3pid:
|
#registrations_require_3pid:
|
||||||
# - email
|
# - email
|
||||||
# - msisdn
|
# - msisdn
|
||||||
|
{% if matrix_synapse_registrations_require_3pid %}
|
||||||
|
registrations_require_3pid: {{ matrix_synapse_registrations_require_3pid|to_json }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Explicitly disable asking for MSISDNs from the registration
|
# Explicitly disable asking for MSISDNs from the registration
|
||||||
# flow (overrides registrations_require_3pid if MSISDNs are set as required)
|
# flow (overrides registrations_require_3pid if MSISDNs are set as required)
|
||||||
|
Loading…
Reference in New Issue
Block a user