mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-09-30 10:21:43 +02:00
docker: DISABLE_ACCOUNT_CREATION -> DISABLE_SIGNUPS
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user