[MSGINA] Clear the password on logoff

This commit is contained in:
Eric Kohl 2018-05-23 00:27:11 +02:00
parent 8828567086
commit 39281f0f70

View file

@ -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;