Logoff: display the message in the user language (used to be 100% english)

SVN:trunk[2864]
This commit is contained in:
Romain Quetiez
2013-09-25 10:20:33 +00:00
parent 898ee016c9
commit 552e90f674

View File

@@ -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)