From d228a3cd5038a1573a4dec5bcb45a9b72e6a3389 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 25 Mar 2025 13:56:17 +0100 Subject: [PATCH] =?UTF-8?q?Aktiviert=20Endpunkt=20pr=C3=BCfen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/PlaceholderAuthController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DigitalData.UserManager.API/Controllers/PlaceholderAuthController.cs b/DigitalData.UserManager.API/Controllers/PlaceholderAuthController.cs index 1ecf960..aa60034 100644 --- a/DigitalData.UserManager.API/Controllers/PlaceholderAuthController.cs +++ b/DigitalData.UserManager.API/Controllers/PlaceholderAuthController.cs @@ -9,9 +9,9 @@ namespace DigitalData.UserManager.API.Controllers; [Tags("Auth")] public class PlaceholderAuthController : ControllerBase { - [AllowAnonymous] + [Authorize] [HttpGet("check")] - public IActionResult CheckAuthentication() => throw new NotImplementedException(); + public IActionResult CheckAuthentication() => Ok(); [AllowAnonymous] [HttpPost("login")]