diff --git a/Controllers/AuthController.cs b/Controllers/AuthController.cs index 1727589..00e32aa 100644 --- a/Controllers/AuthController.cs +++ b/Controllers/AuthController.cs @@ -29,7 +29,7 @@ public class AuthController : ControllerBase /// Triggers the NTLM handshake and returns authenticated user info. /// [Authorize] - [HttpGet("login")] + [HttpGet(nameof(Login))] public IActionResult Login() { var identity = User.Identity; @@ -93,7 +93,7 @@ public class AuthController : ControllerBase } [Authorize] - [HttpGet("status")] + [HttpGet(nameof(Status))] public IActionResult Status() { return Ok(new @@ -102,4 +102,7 @@ public class AuthController : ControllerBase User.Identity?.AuthenticationType }); } + + [HttpGet(nameof(Test))] + public IActionResult Test() => Ok(); } \ No newline at end of file