Преглед изворни кода

Merge pull request #236 from oleg-fiksel/guest-access

Added possibility to enable guest access on synapse
pull/239/head
Slavi Pantaleev пре 6 година
committed by GitHub
родитељ
комит
5b736c416b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 измењених фајлова са 4 додато и 2 уклоњено
  1. +2
    -0
      roles/matrix-synapse/defaults/main.yml
  2. +2
    -2
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 2
- 0
roles/matrix-synapse/defaults/main.yml Прегледај датотеку

@@ -61,6 +61,7 @@ matrix_synapse_template_synapse_log: "{{ role_path }}/templates/synapse/synapse.


matrix_synapse_macaroon_secret_key: "" matrix_synapse_macaroon_secret_key: ""
matrix_synapse_registration_shared_secret: "{{ matrix_synapse_macaroon_secret_key }}" matrix_synapse_registration_shared_secret: "{{ matrix_synapse_macaroon_secret_key }}"
matrix_synapse_allow_guest_access: false
matrix_synapse_form_secret: "{{ matrix_synapse_macaroon_secret_key }}" matrix_synapse_form_secret: "{{ matrix_synapse_macaroon_secret_key }}"


# The list of identity servers to use for Synapse. # The list of identity servers to use for Synapse.
@@ -223,6 +224,7 @@ matrix_synapse_database_database: ""


matrix_synapse_turn_uris: [] matrix_synapse_turn_uris: []
matrix_synapse_turn_shared_secret: "" matrix_synapse_turn_shared_secret: ""
matrix_synapse_turn_allow_guests: False


matrix_synapse_email_enabled: false matrix_synapse_email_enabled: false
matrix_synapse_email_smtp_host: "" matrix_synapse_email_smtp_host: ""


+ 2
- 2
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 Прегледај датотеку

@@ -749,7 +749,7 @@ turn_shared_secret: {{ matrix_synapse_turn_shared_secret|string|to_json }}
# connect to arbitrary endpoints without having first signed up for a # connect to arbitrary endpoints without having first signed up for a
# valid account (e.g. by passing a CAPTCHA). # valid account (e.g. by passing a CAPTCHA).
# #
turn_allow_guests: False
turn_allow_guests: {{ matrix_synapse_turn_allow_guests|to_json }}




## Registration ## ## Registration ##
@@ -854,7 +854,7 @@ registration_shared_secret: {{ matrix_synapse_registration_shared_secret|string|
# participate in rooms hosted on this server which have been made # participate in rooms hosted on this server which have been made
# accessible to anonymous users. # accessible to anonymous users.
# #
#allow_guest_access: false
allow_guest_access: {{ matrix_synapse_allow_guest_access|to_json }}


# The identity server which we suggest that clients should use when users log # The identity server which we suggest that clients should use when users log
# in on this server. # in on this server.


Loading…
Откажи
Сачувај