Introduced interface on WebSecurity

This commit is contained in:
Bjarke Berg
2020-02-09 19:14:19 +01:00
parent c335a8dbb5
commit 2658dae649
12 changed files with 105 additions and 14 deletions

View File

@@ -70,7 +70,7 @@ namespace Umbraco.Web.Mvc
/// <summary>
/// Gets the web security helper.
/// </summary>
public virtual WebSecurity Security => UmbracoContext.Security;
public virtual IWebSecurity Security => UmbracoContext.Security;
protected UmbracoController()
: this(