git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2864 a333f486-631f-4898-b8df-5754b55c2be0
@@ -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)