fix: remove uuid from user registration

This commit is contained in:
Pitu 2020-05-10 22:44:21 +09:00
parent cd6170b939
commit ec67bb8087
1 changed files with 0 additions and 2 deletions

View File

@ -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,