diff --git a/src/Umbraco.Web.Website/Controllers/UmbLoginStatusController.cs b/src/Umbraco.Web.Website/Controllers/UmbLoginStatusController.cs index d4fd13489b61..50b975516221 100644 --- a/src/Umbraco.Web.Website/Controllers/UmbLoginStatusController.cs +++ b/src/Umbraco.Web.Website/Controllers/UmbLoginStatusController.cs @@ -1,3 +1,4 @@ +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Umbraco.Cms.Core.Cache; using Umbraco.Cms.Core.Logging; @@ -29,6 +30,7 @@ public UmbLoginStatusController( => _signInManager = signInManager; [HttpPost] + [AllowAnonymous] [ValidateAntiForgeryToken] [ValidateUmbracoFormRouteString] public async Task HandleLogout([Bind(Prefix = "logoutModel")] PostRedirectModel model)