aboutsummaryrefslogtreecommitdiff
path: root/src/api/database
diff options
context:
space:
mode:
authorPitu <[email protected]>2019-03-19 07:58:36 +0000
committerPitu <[email protected]>2019-03-19 07:58:36 +0000
commit107d1f4750e8f82a628b528c4ec200e918be271d (patch)
tree0225bca3fd2a27e81b2ff711e53278cee890fdab /src/api/database
parentadd restart at the end of update command (diff)
downloadhost.fuwn.me-107d1f4750e8f82a628b528c4ec200e918be271d.tar.xz
host.fuwn.me-107d1f4750e8f82a628b528c4ec200e918be271d.zip
API key WIP
Diffstat (limited to 'src/api/database')
-rw-r--r--src/api/database/seeds/initial.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/database/seeds/initial.js b/src/api/database/seeds/initial.js
index 0ea7bb4..bb8b915 100644
--- a/src/api/database/seeds/initial.js
+++ b/src/api/database/seeds/initial.js
@@ -11,9 +11,7 @@ exports.seed = async db => {
await db.table('users').insert({
username: process.env.ADMIN_ACCOUNT,
password: hash,
- apiKey: randomstring.generate(64),
passwordEditedAt: now,
- apiKeyEditedAt: now,
createdAt: now,
editedAt: now,
enabled: true,