Add support for configuring account.password_registration_email_required for Matrix Authentication Service

Ref:

- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4647
- https://github.com/element-hq/matrix-authentication-service/releases/tag/v1.4.0
- https://github.com/element-hq/matrix-authentication-service/pull/5109
This commit is contained in:
Slavi Pantaleev
2025-10-16 06:59:10 +03:00
parent 31f222823b
commit d908d003c8
2 changed files with 6 additions and 0 deletions

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.

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 }}