From db094a0c4bf700a527d191ec29372aed93142e1c Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Date: Tue, 31 Oct 2023 13:28:39 +0530 Subject: [PATCH] fixup! Update ENABLE_PUBLIC_SIGNUP and FORCE_LOGIN_FOR_APPLICATION to true by default --- .vscode/settings.json | 1 + docs/setup/administrators/configuration.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 22c93fc97d..1578a28e8b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,6 +6,7 @@ "modelcluster", "pagedown", "ratelimit", + "SIGNUP", "WAGTAILADMIN", "wagtailcore" ] diff --git a/docs/setup/administrators/configuration.md b/docs/setup/administrators/configuration.md index 9a441eb069..0e13424a6c 100644 --- a/docs/setup/administrators/configuration.md +++ b/docs/setup/administrators/configuration.md @@ -77,11 +77,11 @@ This determines the length of time for which the user will remain logged in. The ### If users should be able to register accounts without first creating applications - ENABLE_PUBLIC_SIGNUP = env.bool('ENABLE_PUBLIC_SIGNUP', False) + ENABLE_PUBLIC_SIGNUP = env.bool('ENABLE_PUBLIC_SIGNUP', True) ### If users are forced to log in before creating applications - FORCE_LOGIN_FOR_APPLICATION = env.bool('FORCE_LOGIN_FOR_APPLICATION', False) + FORCE_LOGIN_FOR_APPLICATION = env.bool('FORCE_LOGIN_FOR_APPLICATION', True) ### Set the allowed file extension for all uploads fields.