Updates the user Id to the new -1

This commit is contained in:
Shannon
2018-03-21 14:49:10 +11:00
parent c6986ef0ab
commit bd6dd13295

View File

@@ -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