Skip to content
Snippets Groups Projects
Commit 9d7b99db authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #763 from greezybacon/issue/unknown-user


Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents c73d7fd2 bd3100dd
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,9 @@ require_once('client.inc.php');
// Try autologin the user
// Authenticated user can be of type ticket owner or collaborator
$errors = array();
$user = UserAuthenticationBackend::processSignOn($errors);
if (isset($_GET['auth']) || isset($_GET['t']))
$user = UserAuthenticationBackend::processSignOn($errors);
if ($user && $user->getTicketId())
Http::redirect('tickets.php?id='.$user->getTicketId());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment