diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs index 97cc262684..49cb04f4a2 100644 --- a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs +++ b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs @@ -57,7 +57,10 @@ namespace Tgstation.Server.Host.Security var user = await userQuery.ConfigureAwait(false); if (user == default) + { + CurrentAuthenticationContext = new AuthenticationContext(); return; + } ISystemIdentity systemIdentity; if (user.SystemIdentifier != null)