Remove the setup token from disk upon completion of the wizard

refs #7163
This commit is contained in:
Johannes Meyer 2014-10-30 10:36:02 +01:00
parent b9209daea5
commit 9365e3ca94

View File

@ -232,6 +232,11 @@ class WebSetup extends Wizard implements SetupWizard
{
parent::clearSession();
$this->getPage('setup_modules')->clearSession();
$tokenPath = Config::resolvePath('setup.token');
if (file_exists($tokenPath)) {
@unlink($tokenPath);
}
}
/**