From bd6dd132955eb73f2cdb2191c2a17dcd09cd9fa9 Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 21 Mar 2018 14:49:10 +1100 Subject: [PATCH] Updates the user Id to the new -1 --- src/Umbraco.Web/Install/InstallSteps/SetUmbracoVersionStep.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/Install/InstallSteps/SetUmbracoVersionStep.cs b/src/Umbraco.Web/Install/InstallSteps/SetUmbracoVersionStep.cs index 89dcd7996f..17f478efb5 100644 --- a/src/Umbraco.Web/Install/InstallSteps/SetUmbracoVersionStep.cs +++ b/src/Umbraco.Web/Install/InstallSteps/SetUmbracoVersionStep.cs @@ -37,7 +37,7 @@ namespace Umbraco.Web.Install.InstallSteps // us that it is in 'upgrade' because we already have a database conn configured and a database. if (security.IsAuthenticated() == false && GlobalSettings.ConfigurationStatus.IsNullOrWhiteSpace()) { - security.PerformLogin(0); + security.PerformLogin(-1); } // Some upgrade scripts "may modify the database (cmsContentXml...) tables directly" - not sure