docker: DISABLE_ACCOUNT_CREATION -> DISABLE_SIGNUPS

This commit is contained in:
Abdullah Atta committed 2024-10-25 12:40:53 +05:00
1 parent e3f97bc47e
commit 8d15e176ff
4 files changed
+5 -13

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ namespace Streetwriters.Common
{
public static int COMPATIBILITY_VERSION = 1;
public static bool IS_SELF_HOSTED => Environment.GetEnvironmentVariable("SELF_HOSTED") == "1";
public static bool DISABLE_ACCOUNT_CREATION => Environment.GetEnvironmentVariable("DISABLE_ACCOUNT_CREATION") == "1";
public static bool DISABLE_SIGNUPS => Environment.GetEnvironmentVariable("DISABLE_SIGNUPS") == "true";
public static string INSTANCE_NAME => Environment.GetEnvironmentVariable("INSTANCE_NAME") ?? "default";
// S3 related