You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-07 17:03:01 +03:00
Gate account recovery behing a configuration flag
This commit is contained in:
@@ -170,6 +170,8 @@ pub fn site_config_from_config(
|
||||
displayname_change_allowed: experimental_config.displayname_change_allowed,
|
||||
password_change_allowed: password_config.enabled()
|
||||
&& experimental_config.password_change_allowed,
|
||||
account_recovery_allowed: password_config.enabled()
|
||||
&& experimental_config.account_recovery_enabled,
|
||||
captcha,
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user