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

parents c73d7fd2 bd3100dd
Branches
Tags
No related merge requests found
...@@ -19,7 +19,9 @@ require_once('client.inc.php'); ...@@ -19,7 +19,9 @@ require_once('client.inc.php');
// Try autologin the user // Try autologin the user
// Authenticated user can be of type ticket owner or collaborator // Authenticated user can be of type ticket owner or collaborator
$errors = array(); $errors = array();
$user = UserAuthenticationBackend::processSignOn($errors); if (isset($_GET['auth']) || isset($_GET['t']))
$user = UserAuthenticationBackend::processSignOn($errors);
if ($user && $user->getTicketId()) if ($user && $user->getTicketId())
Http::redirect('tickets.php?id='.$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.
Please register or to comment