Either the session expired, is invalid, or doesn’t match. You can see it starts here with checkCsrfToken()
:
- https://github.com/osTicket/osTicket/blob/c4353efde620c32d9dc2942c830aa71e920bc97a/scp/login.php#L62
- https://github.com/osTicket/osTicket/blob/c4353efde620c32d9dc2942c830aa71e920bc97a/include/class.osticket.php#L115
This calls validateCSRFToken()
:
- https://github.com/osTicket/osTicket/blob/c4353efde620c32d9dc2942c830aa71e920bc97a/include/class.osticket.php#L118
- https://github.com/osTicket/osTicket/blob/c4353efde620c32d9dc2942c830aa71e920bc97a/include/class.osticket.php#L111
This function gets the token and calls validateToken()
:
- https://github.com/osTicket/osTicket/blob/c4353efde620c32d9dc2942c830aa71e920bc97a/include/class.osticket.php#L112
- https://github.com/osTicket/osTicket/blob/c4353efde620c32d9dc2942c830aa71e920bc97a/include/class.csrf.php#L73
In validateToken()
it checks to see if the token you provided matches and if it has expired or not. I would do some var_dump()
ing there to see if it’s not matching or if it expired.
Cheers.