login confict
This commit is contained in:
parent
8c460d54b2
commit
feb48a11e5
|
|
@ -37,7 +37,8 @@ namespace BotSharp.OpenAPI.Filters
|
|||
if (validTo != currentExpires)
|
||||
{
|
||||
Serilog.Log.Warning($"Token expired. Token expires at {validTo}, current expires at {currentExpires}");
|
||||
context.Result = new UnauthorizedResult();
|
||||
// login confict
|
||||
context.Result = new ConflictResult();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue