diff options
| author | Pitu <[email protected]> | 2021-02-21 23:38:00 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2021-02-21 23:38:00 +0900 |
| commit | ea0d8aafcfb4b38b562cbe572ae6fc96b44b769f (patch) | |
| tree | 53c353e1ff12c1e19eb0296e1f1bf7573d8b5c94 /src/api | |
| parent | fix: default values (diff) | |
| download | host.fuwn.me-ea0d8aafcfb4b38b562cbe572ae6fc96b44b769f.tar.xz host.fuwn.me-ea0d8aafcfb4b38b562cbe572ae6fc96b44b769f.zip | |
fix: disabled users on migration
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/databaseMigration.js | 2 |
1 files changed, 1 insertions, 1 deletions
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, |