mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +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);
|
TRACE("WlxLogoff(%p)\n", pWlxContext);
|
||||||
|
|
||||||
|
/* Delete the password */
|
||||||
|
ZeroMemory(pgContext->Password, sizeof(pgContext->Password));
|
||||||
|
|
||||||
/* Close the user token */
|
/* Close the user token */
|
||||||
CloseHandle(pgContext->UserToken);
|
CloseHandle(pgContext->UserToken);
|
||||||
pgContext->UserToken = NULL;
|
pgContext->UserToken = NULL;
|
||||||
|
|
Loading…
Reference in a new issue