From 67ed9e21adc66c180922da525ce4250e8cb58fbb Mon Sep 17 00:00:00 2001 From: BeniS Date: Sun, 24 Feb 2013 01:14:30 +1300 Subject: [PATCH] Forget account/password when "Remember password" is unchecked --- modules/client_entergame/entergame.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/client_entergame/entergame.lua b/modules/client_entergame/entergame.lua index faef1290..e8cac33f 100644 --- a/modules/client_entergame/entergame.lua +++ b/modules/client_entergame/entergame.lua @@ -49,6 +49,10 @@ local function onCharacterList(protocol, characters, account, otui) g_settings.set('autologin', enterGame:getChildById('autoLoginBox'):isChecked()) else + -- reset server list account/password + ServerList.setServerAccount(G.host, '') + ServerList.setServerPassword(G.host, '') + EnterGame.clearAccountFields() end