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