docker: DISABLE_ACCOUNT_CREATION -> DISABLE_SIGNUPS

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

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