From 45b9800b5d0c8b0a2a75309502ea52ab6b0e83dc Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 3 Oct 2021 01:59:38 +0200 Subject: :bug: fix registration --- api/src/routes/auth/register.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'api/src/routes/auth/register.ts') diff --git a/api/src/routes/auth/register.ts b/api/src/routes/auth/register.ts index 75fa68c3..1344c994 100644 --- a/api/src/routes/auth/register.ts +++ b/api/src/routes/auth/register.ts @@ -211,6 +211,7 @@ router.post("/", route({ body: "RegisterSchema" }), async (req: Request, res: Re disabled: false, deleted: false, email: email, + rights: "0", nsfw_allowed: true, // TODO: depending on age public_flags: "0", flags: "0", // TODO: generate -- cgit 1.4.1