CheckAuthentication-Endpunkt wird vereinfacht.
This commit is contained in:
parent
b548aa796a
commit
94c77211fc
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user