[MSGINA] Simplify the auto logon code path
authorEric Kohl <eric.kohl@reactos.org>
Mon, 21 May 2018 14:29:02 +0000 (16:29 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Mon, 21 May 2018 14:29:02 +0000 (16:29 +0200)
commit0d308f4b6e6b64d0ecb37d825165531350fef857
tree6fe6e6f646f812f0418422b717259a265922f8be
parent3dc07c91f8c02a654d05815dce55871d52275c59
[MSGINA] Simplify the auto logon code path

- Get rid of DoAutoLogon() and the AutoLogonState variable.
- Handle the auto logon in the normal logon code path instead.
- Set bAutoAdminLogon to FALSE on a successful login. This will prevent another automatic logon after a logoff.
- The IgnoreShiftOverride feature got lost by this change but I will add it again.
dll/win32/msgina/gui.c
dll/win32/msgina/msgina.c
dll/win32/msgina/msgina.h