Skip to content

Commit

Permalink
wrong var
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Jan 16, 2024
1 parent b84ebe9 commit 7ded33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/customLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function customLogin(usernameField, usertypeField) {
token.userType = usertype || "Participant";
// generate token with this info
// return the token
signedToken = jwt.sign(data, "precision-fda-not-secure-token", {
signedToken = jwt.sign(token, "precision-fda-not-secure-token", {
algorithm: 'RS256',
expiresIn: EXPIRY,
});
Expand Down

0 comments on commit 7ded33a

Please sign in to comment.