aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/auth/registerPOST.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/auth/registerPOST.js')
-rw-r--r--src/api/routes/auth/registerPOST.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/routes/auth/registerPOST.js b/src/api/routes/auth/registerPOST.js
index 762eaf2..ee8e5ae 100644
--- a/src/api/routes/auth/registerPOST.js
+++ b/src/api/routes/auth/registerPOST.js
@@ -51,7 +51,9 @@ class registerPOST extends Route {
apiKey: randomstring.generate(64),
apiKeyEditedAt: now,
createdAt: now,
- editedAt: now
+ editedAt: now,
+ enabled: true,
+ isAdmin: false
});
return res.json({ message: 'The account was created successfully' });
}