We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a bug in this line of code https://github.com/talis/talis-node/blob/f91b811565c7bf7358525b6caa4ff65ab9b6607f/persona/client/lib/generate-token.js#L46 for some reason javascript is concatenating the two numbers together instead of adding them.
Changing this to data.expires_at = parseInt(now) + parseInt(data.expires_in); seems to fix it.
data.expires_at = parseInt(now) + parseInt(data.expires_in);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is a bug in this line of code https://github.com/talis/talis-node/blob/f91b811565c7bf7358525b6caa4ff65ab9b6607f/persona/client/lib/generate-token.js#L46 for some reason javascript is concatenating the two numbers together instead of adding them.
Changing this to
data.expires_at = parseInt(now) + parseInt(data.expires_in);
seems to fix it.The text was updated successfully, but these errors were encountered: