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
@@ -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
{