diff options
| author | Pitu <[email protected]> | 2020-05-10 22:44:21 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-05-10 22:44:21 +0900 |
| commit | ec67bb808773bed7fa5c39bd696d8f635fff6c42 (patch) | |
| tree | a94ee9bddda7fb874a41a1adb34e286e426d91c0 /src/api | |
| parent | fix .env values for the frontend (diff) | |
| download | host.fuwn.me-ec67bb808773bed7fa5c39bd696d8f635fff6c42.tar.xz host.fuwn.me-ec67bb808773bed7fa5c39bd696d8f635fff6c42.zip | |
fix: remove uuid from user registration
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/routes/auth/registerPOST.js | 2 |
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, |