Przeglądaj źródła

feat: configurable session_lifetime

pull/1209/head
Liem Le 4 lat temu
rodzic
commit
d597b51e4c
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 4
- 1
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 Wyświetl plik

@@ -1118,8 +1118,11 @@ enable_registration: {{ matrix_synapse_enable_registration|to_json }}
# retrospectively to users who have already logged in. # retrospectively to users who have already logged in.
# #
# By default, this is infinite. # By default, this is infinite.
# Example: 24h
# #
#session_lifetime: 24h
{% if matrix_synapse_session_lifetime|length > 0 %}
session_lifetime: {{ matrix_synapse_session_lifetime }}
{% endif %}


# The user must provide all of the below types of 3PID when registering. # The user must provide all of the below types of 3PID when registering.
# #


Ładowanie…
Anuluj
Zapisz