From ec50bd6ca935d5a53cd62afed898feef996852ed Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 19 Apr 2025 11:30:39 -0400 Subject: [PATCH] Remove unused policy --- src/Tgstation.Server.Host/Core/Application.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Tgstation.Server.Host/Core/Application.cs b/src/Tgstation.Server.Host/Core/Application.cs index 9d764c9ce1..10f392b572 100644 --- a/src/Tgstation.Server.Host/Core/Application.cs +++ b/src/Tgstation.Server.Host/Core/Application.cs @@ -338,13 +338,6 @@ namespace Tgstation.Server.Host.Core builder => builder .RequireAuthenticatedUser() .RequireRole(TgsAuthorizeAttribute.UserEnabledRole)); - options.AddPolicy( - "testingasdf", - builder => - { - builder.RequireAuthenticatedUser(); - builder.AuthenticationSchemes.Add(CookieAuthenticationDefaults.AuthenticationScheme); - }); }) .ModifyOptions(options => {