fix
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
namespace TURN.Services.Chess.Controllers
|
using ChessDotNet;
|
||||||
|
using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using NLog;
|
||||||
|
using TURN.Services.Chess.DBModel;
|
||||||
|
|
||||||
|
namespace TURN.Services.Chess.Controllers
|
||||||
{
|
{
|
||||||
[Authorize(AuthenticationSchemes = AuthSchemes, Roles = "admin")]
|
[Authorize(AuthenticationSchemes = AuthSchemes, Roles = "admin")]
|
||||||
[Route("/[controller]")]
|
[Route("/[controller]")]
|
||||||
|
|||||||
Reference in New Issue
Block a user