Fix bug in CheckToken, token was returned valid if it was not found.
This commit is contained in:
parent
b3d4df5a81
commit
86fbe4d2da
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ namespace Retroactiune.Controllers
|
|||
_logger.LogWarning("Invalid token {Guid}", guid);
|
||||
return Ok(new CheckTokenDto
|
||||
{
|
||||
IsValid = true
|
||||
IsValid = false
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue