Skip to content

Commit

Permalink
Merge pull request #913 from Petap0w/fixlocal
Browse files Browse the repository at this point in the history
Fix extraUserFields in local auth
  • Loading branch information
TurtIeSocks authored Jan 9, 2024
2 parents 9186601 + b34877f commit 8a0f6ea
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 8a0f6ea

Please sign in to comment.