aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/auth/registerPOST.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/routes/auth/registerPOST.js b/src/api/routes/auth/registerPOST.js
index 0500ff6..feeb360 100644
--- a/src/api/routes/auth/registerPOST.js
+++ b/src/api/routes/auth/registerPOST.js
@@ -2,7 +2,6 @@ const Route = require('../../structures/Route');
const log = require('../../utils/Log');
const bcrypt = require('bcrypt');
const moment = require('moment');
-const uuidv4 = require('uuid/v4');
class registerPOST extends Route {
constructor() {
@@ -45,7 +44,6 @@ class registerPOST extends Route {
*/
const now = moment.utc().toDate();
await db.table('users').insert({
- uuid: uuidv4(),
username,
password: hash,
passwordEditedAt: now,