diff --git a/Bootstrap.Admin/App_Start/BAAuthorizeAttribute.cs b/Bootstrap.Admin/App_Start/BAAuthorizeAttribute.cs index 0ca72d1a..53b417f0 100644 --- a/Bootstrap.Admin/App_Start/BAAuthorizeAttribute.cs +++ b/Bootstrap.Admin/App_Start/BAAuthorizeAttribute.cs @@ -1,7 +1,7 @@ -using Longbow.Security.Principal; -using Longbow.Web.Mvc; -using System; +using System; using System.Web.Mvc; +using Longbow.Security.Principal; +using Longbow.Web.Mvc; namespace Bootstrap.Admin { @@ -25,10 +25,10 @@ namespace Bootstrap.Admin /// /// /// - protected override bool AuthenticateRole(string userName) + protected override bool AuthenticateRole() { Roles = "Administrators;SupperAdmin"; //RoleHelper.RetrieveRolesByUrl(); - return base.AuthenticateRole(userName); + return base.AuthenticateRole(); } /// ///