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

(Login Ticket validity) Timestamp is not checked correctly? #35

Open
mvdgeijn opened this issue May 24, 2019 · 1 comment
Open

(Login Ticket validity) Timestamp is not checked correctly? #35

mvdgeijn opened this issue May 24, 2019 · 1 comment

Comments

@mvdgeijn
Copy link

mvdgeijn commented May 24, 2019

Line 145: if ($this->login_ticket_timestamp >= (time() + 7200)) {

The timestamp is always expired this way. It should be:

if ($this->login_ticket_timestamp <= (time() - 7200)) {

@lsthompson
Copy link
Collaborator

@danhunsaker - what do you think here? It seems okay as-is though I'm in-between test machines.

if ($this->login_ticket_timestamp >= (time() + 7200)) {

@lsthompson lsthompson changed the title Timestamp is not check the correct way (Login Ticket validity) Timestamp is not checked correctly? Dec 22, 2023
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