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

Time expire token when login! #281

Open
tanmynguyen opened this issue Jun 28, 2017 · 1 comment
Open

Time expire token when login! #281

tanmynguyen opened this issue Jun 28, 2017 · 1 comment

Comments

@tanmynguyen
Copy link

Hi @kahmali !
I found a issue. When i used login provide by Meteor with method Meteor.loginWithPassword() then i saw services.resume.loginTokens = [1: {when: ...., hashedToken: ....}]. But when I login with REST API api/login then services.resume.loginTokens = [0: {hashedToken: ....}] not have when. So i think it login forever and hasn't time expire token
screen shot 2017-06-28 at 10 47 51
p/s: How do time expire token after login with rest api: api/login

@poojabansal
Copy link

@tanmynguyen were you able to figure this out?

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