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

Add support for new mas account variables

pull/4620/head
Benjamin Blacher пре 5 месеци
committed by Slavi Pantaleev
родитељ
комит
dbae258970
2 измењених фајлова са 21 додато и 0 уклоњено
  1. +18
    -0
      roles/custom/matrix-authentication-service/defaults/main.yml
  2. +3
    -0
      roles/custom/matrix-authentication-service/templates/config.yaml.j2

+ 18
- 0
roles/custom/matrix-authentication-service/defaults/main.yml Прегледај датотеку

@@ -231,6 +231,24 @@ matrix_authentication_service_config_account_password_change_allowed: true
# This has no effect if password login is disabled. # This has no effect if password login is disabled.
matrix_authentication_service_config_account_password_recovery_enabled: false matrix_authentication_service_config_account_password_recovery_enabled: false


# Controls the `account.account_deactivation_allowed` configuration setting.
#
# Whether users are allowed to delete their own account
matrix_authentication_service_config_account_account_deactivation_allowed: true

# Controls the `account.login_with_email_allowed` configuration setting.
#
# Whether users can log in with their email address.
# This has no effect if password login is disabled.
matrix_authentication_service_config_account_login_with_email_allowed: false

# Controls the `account.registration_token_required` configuration setting.
#
# Whether registration tokens are required for password registrations.
# When enabled, users must provide a valid registration token during password
# registration. This has no effect if password registration is disabled.
matrix_authentication_service_config_account_registration_token_required: false

######################################################################################## ########################################################################################
# # # #
# /Account configuration # # /Account configuration #


+ 3
- 0
roles/custom/matrix-authentication-service/templates/config.yaml.j2 Прегледај датотеку

@@ -67,6 +67,9 @@ account:
password_registration_enabled: {{ matrix_authentication_service_config_account_password_registration_enabled | to_json }} password_registration_enabled: {{ matrix_authentication_service_config_account_password_registration_enabled | to_json }}
password_change_allowed: {{ matrix_authentication_service_config_account_password_change_allowed | to_json }} password_change_allowed: {{ matrix_authentication_service_config_account_password_change_allowed | to_json }}
password_recovery_enabled: {{ matrix_authentication_service_config_account_password_recovery_enabled | to_json }} password_recovery_enabled: {{ matrix_authentication_service_config_account_password_recovery_enabled | to_json }}
account_deactivation_allowed: {{ matrix_authentication_service_config_account_account_deactivation_allowed | to_json }}
login_with_email_allowed: {{ matrix_authentication_service_config_account_login_with_email_allowed | to_json }}
registration_token_required: {{ matrix_authentication_service_config_account_registration_token_required | to_json }}


clients: {{ matrix_authentication_service_config_clients | to_json }} clients: {{ matrix_authentication_service_config_clients | to_json }}




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