From dd8a6ede09103b52bb4f22684b6c656449f539c7 Mon Sep 17 00:00:00 2001 From: strawberry Date: Thu, 21 Dec 2023 21:39:49 -0500 Subject: [PATCH] dont allow guest registration if registration disabled with token configured Signed-off-by: strawberry --- src/api/client_server/account.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/client_server/account.rs b/src/api/client_server/account.rs index ea45a8ca..1e64e5c7 100644 --- a/src/api/client_server/account.rs +++ b/src/api/client_server/account.rs @@ -89,9 +89,10 @@ pub async fn register_route(body: Ruma) -> Result