#fix 12254 return emptyresult

(cherry picked from commit 7993d19c1b)
This commit is contained in:
Henk Jan Pluim
2022-04-25 10:02:06 +02:00
committed by Sebastiaan Janssen
parent 7087c3d9f6
commit 3856bf8288

View File

@@ -131,7 +131,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
var user = _backofficeSecurityAccessor.BackOfficeSecurity?.CurrentUser;
_cookieManager.SetCookieValue(Constants.Web.PreviewCookieName, "preview");
return null;
return new EmptyResult();
}
public ActionResult End(string? redir = null)