fix logout bug
This commit is contained in:
@@ -30,7 +30,6 @@ public class SimApiAuthController(SimApiAuth auth) : SimApiBaseController
|
||||
[HttpPost, SimApiDoc("认证", "退出登陆")]
|
||||
public SimApiBaseResponse Logout()
|
||||
{
|
||||
ErrorWhenNull(null);
|
||||
string? token = null;
|
||||
|
||||
if (Request.Headers.TryGetValue("Token", out var value))
|
||||
|
||||
Reference in New Issue
Block a user