Merge pull request #11883 from owncloud/clear-session-for-setup
Clear session before setup
This commit is contained in:
commit
5f2a083686
|
@ -713,7 +713,8 @@ class OC {
|
|||
OC::loadAppClassPaths();
|
||||
|
||||
// Check if ownCloud is installed or in maintenance (update) mode
|
||||
if (!OC_Config::getValue('installed', false)) {
|
||||
if (!\OC::$server->getConfig()->getSystemValue('installed', false)) {
|
||||
\OC::$server->getSession()->clear();
|
||||
$controller = new OC\Core\Setup\Controller(\OC::$server->getConfig());
|
||||
$controller->run($_POST);
|
||||
exit();
|
||||
|
|
Loading…
Reference in New Issue