dont use user from user cookie whatsoever!!!
This commit is contained in:
parent
f48b421500
commit
c2846aed4d
3 changed files with 6 additions and 25 deletions
|
@ -64,7 +64,7 @@ public class AuthController(
|
|||
[HttpDelete("session")]
|
||||
public async Task<ActionResult> DeleteSession()
|
||||
{
|
||||
var (sessionId, userId) = HttpContext.GetSessionInfo();
|
||||
var sessionId = HttpContext.GetSessionId();
|
||||
|
||||
if (sessionId is not null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue