CheckAuthentication-Endpunkt wird vereinfacht.

This commit is contained in:
Developer 02 2024-07-02 18:33:16 +02:00
parent b548aa796a
commit 94c77211fc

View File

@ -37,7 +37,7 @@ namespace DigitalData.UserManager.API.Controllers
{ {
try try
{ {
return Ok(new AuthCheckDto(IsAuthenticated: User.Identity?.IsAuthenticated ?? false)); return Ok(User.Identity?.IsAuthenticated ?? false);
} }
catch(Exception ex) catch(Exception ex)
{ {