diff --git a/server/src/strategies/local.js b/server/src/strategies/local.js index d1f00579e..d1c1abf4a 100644 --- a/server/src/strategies/local.js +++ b/server/src/strategies/local.js @@ -104,6 +104,7 @@ const authHandler = async (_req, username, password, done) => { user.discordId = userExists.discordId user.telegramId = userExists.telegramId user.webhookStrategy = userExists.webhookStrategy + user.data = userExists.data user.status = userExists.data ? (typeof userExists.data === 'string' ? JSON.parse(userExists.data).status