Skip to content
New issue

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

"Got new bearer token" no longer logs distinct tokens #54

Closed
marten opened this issue Jul 6, 2016 · 1 comment
Closed

"Got new bearer token" no longer logs distinct tokens #54

marten opened this issue Jul 6, 2016 · 1 comment

Comments

@marten
Copy link
Contributor

marten commented Jul 6, 2016

console.log('Got new bearer token', tokenDetails.access_token.slice(-6));

The start of all bearer tokens is going to be the same for all. Better slice from the end.

@rogerhutchings
Copy link
Contributor

String.slice() does slice from the end with a negative index - link

@marten marten closed this as completed Jul 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants