Fix bug in CheckToken, token was returned valid if it was not found.

This commit is contained in:
Denis-Cosmin Nutiu 2021-07-24 19:06:43 +03:00
parent b3d4df5a81
commit 86fbe4d2da

View file

@ -178,7 +178,7 @@ namespace Retroactiune.Controllers
_logger.LogWarning("Invalid token {Guid}", guid); _logger.LogWarning("Invalid token {Guid}", guid);
return Ok(new CheckTokenDto return Ok(new CheckTokenDto
{ {
IsValid = true IsValid = false
}); });
} }
} }