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

@@ -53,7 +53,7 @@ namespace Streetwriters.Identity.Controllers
[AllowAnonymous]
public async Task<IActionResult> Signup([FromForm] SignupForm form)
{
if (Constants.DISABLE_ACCOUNT_CREATION)
if (Constants.DISABLE_SIGNUPS)
return BadRequest(new string[] { "Creating new accounts is not allowed." });
try
{