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

Merge pull request #2641 from kevinoconnor7/fix_redirect_for_scp_login


Fixes bare header redirect

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 1252097e 5f5049c2
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ elseif ($_GET['do']) {
elseif (!$thisstaff || !($thisstaff->getId() || $thisstaff->isValid())) {
if (($user = StaffAuthenticationBackend::processSignOn($errors, false))
&& ($user instanceof StaffSession))
@header("Location: $dest");
Http::redirect($dest);
}
// Browsers shouldn't suggest saving that username/password
......
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