From 120adf806ddb3c72e416fae388435530318d2a12 Mon Sep 17 00:00:00 2001 From: john Date: Sun, 1 Jun 2025 23:35:44 +0200 Subject: [PATCH] ocd --- Femto.Api/Auth/SessionAuthenticationHandler.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Femto.Api/Auth/SessionAuthenticationHandler.cs b/Femto.Api/Auth/SessionAuthenticationHandler.cs index 2559988..aa549d9 100644 --- a/Femto.Api/Auth/SessionAuthenticationHandler.cs +++ b/Femto.Api/Auth/SessionAuthenticationHandler.cs @@ -23,7 +23,6 @@ internal class SessionAuthenticationHandler( var sessionId = this.Context.GetSessionId(); - if (sessionId is null) { Logger.LogDebug("{TraceId} SessionId was null ", this.Context.TraceIdentifier); @@ -44,7 +43,6 @@ internal class SessionAuthenticationHandler( return await FailAndDeleteSession(sessionId); } - var user = await authService.GetUserWithId(session.UserId); if (user is null)