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

make use of max_number_of_devices on sign_in #637

Closed
hasan-aa opened this issue May 17, 2016 · 1 comment
Closed

make use of max_number_of_devices on sign_in #637

hasan-aa opened this issue May 17, 2016 · 1 comment

Comments

@hasan-aa
Copy link

Hi everybody,

The create_new_auth_token method in DeviseTokenAuth::Concerns::User actually maintains the maximum count of tokens per user according to the max_number_of_devices parameter.

But create method of DeviseTokenAuth::SessionsController does not use create_new_auth_token so a new token is added on each login.

Is this something that needs to be fixed?

Thanks, Hasan.

@zachfeldman
Copy link
Contributor

Hi there @Hasan-a-ayar ,

In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!

If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.

Hope all is well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants