forked from ddrilling/AsbCloudServer
#7582867 cleanup
This commit is contained in:
parent
0d9f8b1819
commit
c38730b7aa
@ -1,13 +1,7 @@
|
||||
using AsbCloudApp.Data;
|
||||
using DocumentFormat.OpenXml.Drawing.Charts;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Org.BouncyCastle.Asn1.Pkcs;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
|
@ -45,7 +45,6 @@ namespace AsbCloudWebApi.Middlewares
|
||||
bool isAuthorized;
|
||||
if (idUser == 1)
|
||||
isAuthorized = true;
|
||||
|
||||
else
|
||||
{
|
||||
var permissionName = permission.Name;
|
||||
|
Loading…
Reference in New Issue
Block a user