mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[MSGINA] Clear the password on logoff
This commit is contained in:
parent
8828567086
commit
39281f0f70
1 changed files with 3 additions and 0 deletions
|
@ -1024,6 +1024,9 @@ WlxLogoff(
|
|||
|
||||
TRACE("WlxLogoff(%p)\n", pWlxContext);
|
||||
|
||||
/* Delete the password */
|
||||
ZeroMemory(pgContext->Password, sizeof(pgContext->Password));
|
||||
|
||||
/* Close the user token */
|
||||
CloseHandle(pgContext->UserToken);
|
||||
pgContext->UserToken = NULL;
|
||||
|
|
Loading…
Reference in a new issue