diff --git a/build/Version.props b/build/Version.props index d04ba06ea5..f5b200bf1f 100644 --- a/build/Version.props +++ b/build/Version.props @@ -3,7 +3,7 @@ - 6.19.2 + 6.19.3 5.9.0 10.14.1 0.7.0 diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs index a57bf7795b..12c7756df2 100644 --- a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs +++ b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs @@ -109,9 +109,9 @@ namespace Tgstation.Server.Host.Security public void Dispose() => currentAuthenticationContext.Dispose(); /// - #pragma warning disable CA1506 // TODO: Decomplexify +#pragma warning disable CA1506 // TODO: Decomplexify public async Task ValidateTgsToken(Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext tokenValidatedContext, CancellationToken cancellationToken) - #pragma warning restore CA1506 +#pragma warning restore CA1506 { ArgumentNullException.ThrowIfNull(tokenValidatedContext); @@ -212,6 +212,8 @@ namespace Tgstation.Server.Host.Security .Include(oidcConnection => oidcConnection.User) .ThenInclude(user => user!.Group) .ThenInclude(group => group!.PermissionSet) + .Include(oidcConnection => oidcConnection.User) + .ThenInclude(user => user!.PermissionSet) .FirstOrDefaultAsync(cancellationToken); User user;