mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[MSGINA] Always stop the automatic login after the first try
Fixes CORE-14643
This commit is contained in:
parent
46dcab7ab1
commit
8c5cf73018
|
@ -400,7 +400,7 @@ DoChangePassword(
|
|||
RequestBuffer->NewPassword.MaximumLength);
|
||||
|
||||
/* Connect to the LSA server */
|
||||
if (!ConnectToLsa(pgContext))
|
||||
if (ConnectToLsa(pgContext) != ERROR_SUCCESS)
|
||||
{
|
||||
ERR("ConnectToLsa() failed\n");
|
||||
goto done;
|
||||
|
@ -882,11 +882,11 @@ DoLogon(
|
|||
ZeroMemory(pgContext->Password, sizeof(pgContext->Password));
|
||||
wcscpy(pgContext->Password, Password);
|
||||
|
||||
pgContext->bAutoAdminLogon = FALSE;
|
||||
|
||||
result = TRUE;
|
||||
|
||||
done:
|
||||
pgContext->bAutoAdminLogon = FALSE;
|
||||
|
||||
if (UserName != NULL)
|
||||
HeapFree(GetProcessHeap(), 0, UserName);
|
||||
|
||||
|
|
Loading…
Reference in a new issue