ext method for authn back office scheme with null check, fixing tests

This commit is contained in:
Shannon
2020-12-02 15:49:28 +11:00
parent e297bc8c8d
commit d0e17d16bc
4 changed files with 26 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ namespace Umbraco.Web.Common.Install
// Update ClientDependency version and delete its temp directories to make sure we get fresh caches
_runtimeMinifier.Reset();
var authResult = await HttpContext.AuthenticateAsync(Core.Constants.Security.BackOfficeAuthenticationType);
var authResult = await this.AuthenticateBackOfficeAsync();
if (!authResult.Succeeded)
{