From ea0d8aafcfb4b38b562cbe572ae6fc96b44b769f Mon Sep 17 00:00:00 2001 From: Pitu Date: Sun, 21 Feb 2021 23:38:00 +0900 Subject: fix: disabled users on migration --- src/api/databaseMigration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/databaseMigration.js') diff --git a/src/api/databaseMigration.js b/src/api/databaseMigration.js index 24cfcff..1e3518e 100644 --- a/src/api/databaseMigration.js +++ b/src/api/databaseMigration.js @@ -58,7 +58,7 @@ const start = async () => { id: user.id, username: user.username, password: user.password, - enabled: user.enabled == 1, + enabled: user.enabled, isAdmin: false, apiKey: user.token, passwordEditedAt: now, -- cgit v1.2.3