Skip to content

Commit

Permalink
Update class.auth.phpReviewed-By:
Browse files Browse the repository at this point in the history
Update class.auth.php

Reviewed-By: Jared Hancock <[email protected]>
  • Loading branch information
greezybacon committed Apr 24, 2016
2 parents 27b97e4 + dcea76e commit f3a4bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/class.auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ function signOn() {
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);
}
Expand Down

0 comments on commit f3a4bf5

Please sign in to comment.