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

the objective of this line #18

Open
Neira1991 opened this issue Mar 18, 2018 · 1 comment
Open

the objective of this line #18

Neira1991 opened this issue Mar 18, 2018 · 1 comment

Comments

@Neira1991
Copy link

return (new Date().getTime() < record.timestamp && record.value);

Hello, first of all, thank you very much for your work, it has been excellent and it works well with admin on rest, but I do not understand the objective of this line, because I do not simply return the token? Thank you

@kimkha
Copy link
Owner

kimkha commented Jul 10, 2018

Thanks for question...

That line check expiration of token.

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