Go to your osTicket files, open include/class.csrf.php
in any text editor, find the function function validateToken($token)
(should be line 73), and change it to the following:
function validateToken($token) {
var_dump('Token: ', trim($token), 'This Token: ', $this->getToken(), 'Not Expired: ', !$this->isExpired());die;
return ($token && trim($token)==$this->getToken() && !$this->isExpired());
}
Once you make and save those changes go to the /scp login page and pull up the browser's DevTools (Right Click the login page and select the option Inspect). Once you have the developer tools pulled up go to the Network Tab. Now you can attempt to login which should trigger the code. At this point you should see the modal spinning and spinning (this is good in this case). In the Network tab you should see a new entry called login.php
that has a Method of POST. Click this entry, click Preview, copy the content, and post it here.
Cheers.