From 3a9ea54e31d8f76aa9ae70c55ef5149bd922c5d7 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Thu, 23 Nov 2023 18:41:22 +0100 Subject: [PATCH] lock down hedgedoc a bit --- modules/hedgedoc.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/hedgedoc.nix b/modules/hedgedoc.nix index f2b4f64..bea2c92 100644 --- a/modules/hedgedoc.nix +++ b/modules/hedgedoc.nix @@ -8,6 +8,10 @@ protocolUseSSL = true; allowFreeURL = true; requireFreeURLAuthentication = true; + allowEmailRegister = false; + email = false; + allowAnonymous = false; + allowAnonymousEdits = true; oauth2 = { userProfileURL = "https://auth.katzen.cafe/realms/katzen.cafe/protocol/openid-connect/userinfo"; userProfileUsernameAttr = "preferred_username";