Skip to content

Commit

Permalink
fix: using plaintext instead of envar
Browse files Browse the repository at this point in the history
  • Loading branch information
clostao committed Nov 25, 2024
1 parent 237efc1 commit cb2d3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/services/authManager/providers/custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const createAccessToken = (user: OAuthUser, refreshTokenId: string) => {
refreshTokenId,
}

return jwt.sign(payload, 'secret', {
return jwt.sign(payload, JWT_SECRET, {
expiresIn: '1h',
})
}
Expand Down

0 comments on commit cb2d3da

Please sign in to comment.