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

Tokens count overmuch fixed #650

Merged
merged 1 commit into from
Jun 2, 2016

Conversation

jerrygreen
Copy link
Contributor

@jerrygreen jerrygreen commented Jun 2, 2016

When we set config.change_headers_on_each_request to false it is possible to get an unlimited count of tokens and config.max_number_of_devices is ignoring.

In a casual case - it's not a problem because we remove the token on sign_out. But if your application is an API - nobody uses sign_out and you get over 19k tokens for a single object or so (for example).

@booleanbetrayal
Copy link
Collaborator

@jerrygreen - tests are failing on bundle install. can you rebase this PR branch to exclude the Gemfile change? I'd definitely take a dependency update with passing tests in a separate PR if it helps.

@jerrygreen
Copy link
Contributor Author

jerrygreen commented Jun 2, 2016

@booleanbetrayal Did it.

@booleanbetrayal
Copy link
Collaborator

thanks @jerrygreen !

@booleanbetrayal booleanbetrayal merged commit b892e1b into lynndylanhurley:master Jun 2, 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

Successfully merging this pull request may close these issues.

2 participants