diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-03 01:59:38 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-03 01:59:38 +0200 |
commit | 45b9800b5d0c8b0a2a75309502ea52ab6b0e83dc (patch) | |
tree | 6968d6bdcb65a019426f1ec66304a01b6e223eeb /api | |
parent | :sparkles: add ``right`` option to route() (diff) | |
download | server-45b9800b5d0c8b0a2a75309502ea52ab6b0e83dc.tar.xz |
:bug: fix registration
Diffstat (limited to 'api')
-rw-r--r-- | api/src/routes/auth/register.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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 |