mirror of
https://github.com/Combodo/iTop.git
synced 2026-09-16 03:38:25 +02:00
N°10035 - Propagate proper HTTP_REFERER after authentication
This commit is contained in:
@@ -187,6 +187,11 @@ class LoginWebPage extends NiceWebPage
|
||||
}
|
||||
}
|
||||
|
||||
$sReferer = $_SERVER['HTTP_REFERER'] ?? null;
|
||||
if (!is_null($sReferer)) {
|
||||
$aPreviousPostedVars['HTTP_REFERER'] = $sReferer;
|
||||
}
|
||||
|
||||
$aVars = [
|
||||
'bFailedLogin' => $bFailedLogin,
|
||||
'sMessage' => $sMessage,
|
||||
|
||||
Reference in New Issue
Block a user