AB#6233 - Added application url on IHostingEnvironment. Still need a way to figure out how to get this value

This commit is contained in:
Bjarke Berg
2020-05-01 08:26:05 +02:00
parent 04872857e4
commit da1e83c0d1
24 changed files with 47 additions and 24 deletions

View File

@@ -41,7 +41,7 @@ namespace Umbraco.Web.Install
// otherwise we need to ensure that a user is logged in
return runtimeState.Level == RuntimeLevel.Install
|| runtimeState.Level == RuntimeLevel.Upgrade
|| umbracoContext.Security.ValidateCurrentUser();
|| (umbracoContext?.Security?.ValidateCurrentUser() ?? false);
}
catch (Exception ex)
{