Slavi Pantaleev 4 months ago
parent
commit
d908d003c8
2 changed files with 6 additions and 0 deletions
  1. +5
    -0
      roles/custom/matrix-authentication-service/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-authentication-service/templates/config.yaml.j2

+ 5
- 0
roles/custom/matrix-authentication-service/defaults/main.yml View File

@@ -219,6 +219,11 @@ matrix_authentication_service_config_account_displayname_change_allowed: true
# This has no effect if password login is disabled.
matrix_authentication_service_config_account_password_registration_enabled: false

# Controls the `account.password_registration_email_required` configuration setting.
#
# Whether self-service password registrations require a valid email.
matrix_authentication_service_config_account_password_registration_email_required: true

# Controls the `account.password_change_allowed` configuration setting.
#
# Whether users are allowed to change their passwords.


+ 1
- 0
roles/custom/matrix-authentication-service/templates/config.yaml.j2 View File

@@ -65,6 +65,7 @@ account:
email_change_allowed: {{ matrix_authentication_service_config_account_email_change_allowed | to_json }}
displayname_change_allowed: {{ matrix_authentication_service_config_account_displayname_change_allowed | to_json }}
password_registration_enabled: {{ matrix_authentication_service_config_account_password_registration_enabled | to_json }}
password_registration_email_required: {{ matrix_authentication_service_config_account_password_registration_email_required | 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 }}
account_deactivation_allowed: {{ matrix_authentication_service_config_account_account_deactivation_allowed | to_json }}


Loading…
Cancel
Save