Kaynağa Gözat

Add ability to disable password auth (#2612)

* Add ability to disable password auth

* Allow disabling password authentication
pull/2614/head
Aeris One 2 yıl önce
committed by GitHub
ebeveyn
işleme
44aa0dce7b
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
2 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. +5
    -0
      roles/custom/matrix-synapse/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 5
- 0
roles/custom/matrix-synapse/defaults/main.yml Dosyayı Görüntüle

@@ -371,6 +371,11 @@ matrix_synapse_auto_join_rooms: []
# automatically if they don't already exist. # automatically if they don't already exist.
matrix_synapse_autocreate_auto_join_rooms: true matrix_synapse_autocreate_auto_join_rooms: true


# Controls whether password authentication is allowed
# It may be useful when you've configured OAuth, SAML or CAS and want authentication
# to happen only through them
matrix_synapse_password_config_enabled: true

# Controls password-peppering for Synapse. Not to be changed after initial setup. # Controls password-peppering for Synapse. Not to be changed after initial setup.
matrix_synapse_password_config_pepper: "" matrix_synapse_password_config_pepper: ""




+ 1
- 1
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Dosyayı Görüntüle

@@ -2241,7 +2241,7 @@ sso:
password_config: password_config:
# Uncomment to disable password login # Uncomment to disable password login
# #
#enabled: false
enabled: {{ matrix_synapse_password_config_enabled|to_json }}


# Uncomment to disable authentication against the local password # Uncomment to disable authentication against the local password
# database. This is ignored if `enabled` is false, and is only useful # database. This is ignored if `enabled` is false, and is only useful


Yükleniyor…
İptal
Kaydet