Debugging live-only bug.
This commit is contained in:
@@ -91,19 +91,4 @@ public class UserController : ControllerBase
|
||||
await signOutTask;
|
||||
return Ok();
|
||||
}
|
||||
|
||||
[HttpPut("TestGuestLogout")]
|
||||
public async Task<IActionResult> TestGuestLogout()
|
||||
{
|
||||
var signOutTask = HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
|
||||
|
||||
var userId = User?.GetShogiUserId();
|
||||
if (!string.IsNullOrEmpty(userId))
|
||||
{
|
||||
connectionManager.Unsubscribe(userId);
|
||||
}
|
||||
|
||||
await signOutTask;
|
||||
return Ok();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user