Forget account/password when "Remember password" is unchecked

This commit is contained in:
BeniS 2013-02-24 01:14:30 +13:00
parent 01126eee62
commit 67ed9e21ad
1 changed files with 4 additions and 0 deletions

View File

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