Browse Source

- Fixed Trac #217: can not log-off at the first login after setup.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@696 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 years ago
parent
commit
719e7f5969
1 changed files with 1 additions and 0 deletions
  1. 1 0
      setup/index.php

+ 1 - 0
setup/index.php

@@ -963,6 +963,7 @@ function SetupFinished(SetupWebPage $oP, $aParamValues, $iCurrentStep, Config $o
 		{
 			UserRights::Login($sAuthUser);
 			$_SESSION['auth_user'] = $sAuthUser;
+			$_SESSION['login_mode'] = 'form'; // Will enable the "log-off button"
 			
 			// remove the tmp config file
 			@unlink(TMP_CONFIG_FILE);