Update on the injection of "HttpContext"
This commit is contained in:
@@ -12,8 +12,7 @@ namespace skydiveLogs_api.DomainBusiness
|
||||
|
||||
public IdentityService(ClaimsPrincipal user)
|
||||
{
|
||||
if (user != null
|
||||
&& user.Claims.Any())
|
||||
if (user != null && user.Claims.Any())
|
||||
{
|
||||
var claims = user.Claims;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user