Skip to content
Snippets Groups Projects
Commit f3a4bf53 authored by Jared Hancock's avatar Jared Hancock
Browse files

Update class.auth.phpReviewed-By:


Update class.auth.php

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents 27b97e4f dcea76ea
No related branches found
No related tags found
No related merge requests found
......@@ -1061,7 +1061,7 @@ class AuthTokenAuthentication extends UserAuthenticationBackend {
if (($ticket = Ticket::lookupByNumber($_GET['t'], $_GET['e']))
// Using old ticket auth code algo - hardcoded here because it
// will be removed in ticket class in the upcoming rewrite
&& !strcasecmp($_GET['a'], md5($ticket->getId() . $_GET['e'] . SECRET_SALT))
&& !strcasecmp($_GET['a'], md5($ticket->getId() . strtolower($_GET['e']) . SECRET_SALT))
&& ($owner = $ticket->getOwner()))
$user = new ClientSession($owner);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment