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)