[NTOS:SE] Remove redundant commented call on token duplication

When duplicating an access token, the authentication ID is already copied from the existing token to the new one anyway so there's no point on having the commented call still left in the code.
This commit is contained in:
George Bișoc 2021-07-25 18:02:32 +02:00
parent a1ebce3aac
commit e2a8585edc
No known key found for this signature in database
GPG key ID: 688C4FBE25D7DEF6

View file

@ -854,8 +854,7 @@ SepDuplicateToken(
AccessToken->TokenFlags = Token->TokenFlags & ~TOKEN_SESSION_NOT_REFERENCED;
/* Copy and reference the logon session */
// RtlCopyLuid(&AccessToken->AuthenticationId, &Token->AuthenticationId);
/* Reference the logon session */
Status = SepRmReferenceLogonSession(&AccessToken->AuthenticationId);
if (!NT_SUCCESS(Status))
{