Remove the setup token from disk upon completion of the wizard
refs #7163
This commit is contained in:
parent
b9209daea5
commit
9365e3ca94
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue