Skip to content

Commit

Permalink
fix extraUserFields in local auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Petap0w committed Jan 9, 2024
1 parent 9186601 commit b34877f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/strategies/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b34877f

Please sign in to comment.