mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Logoff: display the message in the user language (used to be 100% english)
SVN:trunk[2864]
This commit is contained in:
@@ -37,6 +37,13 @@ else
|
||||
{
|
||||
$sUrl .= 'pages/UI.php';
|
||||
}
|
||||
|
||||
if (isset($_SESSION['auth_user']))
|
||||
{
|
||||
$sAuthUser = $_SESSION['auth_user'];
|
||||
UserRights::Login($sAuthUser); // Set the user's language
|
||||
}
|
||||
|
||||
$sLoginMode = isset($_SESSION['login_mode']) ? $_SESSION['login_mode'] : '';
|
||||
LoginWebPage::ResetSession();
|
||||
switch($sLoginMode)
|
||||
|
||||
Reference in New Issue
Block a user