fix: insignia + leave Error
This commit is contained in:
parent
41d28c4d7f
commit
7d8a80e9df
72 changed files with 132 additions and 142 deletions
15
BMA.EHR.Leave/Filters/CustomAuthorizeFilter.cs
Normal file
15
BMA.EHR.Leave/Filters/CustomAuthorizeFilter.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using Hangfire.Dashboard;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace BMA.EHR.Leave.Service.Filters
|
||||
{
|
||||
public class CustomAuthorizeFilter : IDashboardAuthorizationFilter
|
||||
{
|
||||
public bool Authorize([NotNull] DashboardContext context)
|
||||
{
|
||||
//var httpcontext = context.GetHttpContext();
|
||||
//return httpcontext.User.Identity.IsAuthenticated;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue