From 0bc39511e4759d12c715c3c95a5919adaef334f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Fri, 31 Jan 2025 11:14:06 +0100 Subject: [PATCH] Matrix: enable registration with tokens This allows registration if the user has a valid registration token. --- roles/docker/templates/matrix/homeserver.yaml.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/docker/templates/matrix/homeserver.yaml.j2 b/roles/docker/templates/matrix/homeserver.yaml.j2 index 6c6714e..642054b 100644 --- a/roles/docker/templates/matrix/homeserver.yaml.j2 +++ b/roles/docker/templates/matrix/homeserver.yaml.j2 @@ -578,7 +578,10 @@ turn_allow_guests: True ## Registration ## # Enable registration for new users. -enable_registration: False +enable_registration: true + +# Require registration token +registration_requires_token: true # The user must provide all of the below types of 3PID when registering. #