소스 검색

Add registrations_require_3pid synapse option

pull/167/head
Dan Arnfield 7 년 전
부모
커밋
958ad68078
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      roles/matrix-synapse/defaults/main.yml
  2. +3
    -0
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 3
- 0
roles/matrix-synapse/defaults/main.yml 파일 보기

@@ -114,6 +114,9 @@ matrix_synapse_use_presence: true
# Controls whether people with access to the homeserver can register by themselves.
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.
# Rooms are to be specified using addresses (e.g. `#address:example.com`)
matrix_synapse_auto_join_rooms: []


+ 3
- 0
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 파일 보기

@@ -671,6 +671,9 @@ enable_registration: {{ matrix_synapse_enable_registration|to_json }}
#registrations_require_3pid:
# - email
# - 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
# flow (overrides registrations_require_3pid if MSISDNs are set as required)


불러오는 중...
취소
저장