fixes #2552, implement FLAG_DISABLE_SIGNUPS and FLAG_DISABLE_EMAIL_AUTH

This commit is contained in:
Amruth Pillai
2026-01-23 01:45:42 +01:00
parent 6db9fee823
commit 11cbeb27f8
69 changed files with 2098 additions and 2029 deletions
+4 -1
View File
@@ -60,7 +60,10 @@ S3_FORCE_PATH_STYLE="true"
FLAG_DEBUG_PRINTER="false"
# This flag disables new signups, both on the web app and the server.
FLAG_DISABLE_SIGNUP="false"
FLAG_DISABLE_SIGNUPS="false"
# This flag disables email/password login. Disables email verification, forgot password, and reset password flows. Users can still sign up via social auth (Google/GitHub/Custom OAuth), unless FLAG_DISABLE_SIGNUPS is also set to true.
FLAG_DISABLE_EMAIL_AUTH="false"
# --- Others ---
# Google Cloud API Key (optional)