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

SVN:trunk[696]
This commit is contained in:
Denis Flaven
2010-08-24 15:17:51 +00:00
parent 68b5fc78c9
commit 911de05616

View File

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