mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:21:38 +00:00
[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:
parent
a1ebce3aac
commit
e2a8585edc
1 changed files with 1 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue