mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
Clear session before setup
Fixes https://github.com/owncloud/core/issues/11861
This commit is contained in:
parent
a9b41cbf54
commit
d30fd23544
1 changed files with 2 additions and 1 deletions
|
|
@ -716,7 +716,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 a new issue