fix: disabled users on migration

This commit is contained in:
Pitu 2021-02-21 23:38:00 +09:00
parent e09fcf70d8
commit ea0d8aafcf
1 changed files with 1 additions and 1 deletions

View File

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