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

Merge pull request #2916 from protich/jdelhome3578/client-login-dest


login: Client SSO Destination

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 13b97915 0e10d6c8
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,8 @@ elseif ($user = UserAuthenticationBackend::processSignOn($errors, false)) { ...@@ -127,7 +127,8 @@ elseif ($user = UserAuthenticationBackend::processSignOn($errors, false)) {
} }
} }
elseif ($user instanceof AuthenticatedUser) { elseif ($user instanceof AuthenticatedUser) {
Http::redirect('tickets.php'); Http::redirect($_SESSION['_client']['auth']['dest']
?: 'tickets.php');
} }
} }
......
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