mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-28 15:40:56 +01:00
Fix for domain system identities
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Tgstation.Server.Host.Security
|
||||
{
|
||||
try
|
||||
{
|
||||
pc = new PrincipalContext(ContextType.Machine);
|
||||
pc = new PrincipalContext(contextType);
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
principal = UserPrincipal.FindByIdentity(pc, user.SystemIdentifier);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user