Forget account/password when "Remember password" is unchecked
This commit is contained in:
parent
01126eee62
commit
67ed9e21ad
|
@ -49,6 +49,10 @@ local function onCharacterList(protocol, characters, account, otui)
|
||||||
|
|
||||||
g_settings.set('autologin', enterGame:getChildById('autoLoginBox'):isChecked())
|
g_settings.set('autologin', enterGame:getChildById('autoLoginBox'):isChecked())
|
||||||
else
|
else
|
||||||
|
-- reset server list account/password
|
||||||
|
ServerList.setServerAccount(G.host, '')
|
||||||
|
ServerList.setServerPassword(G.host, '')
|
||||||
|
|
||||||
EnterGame.clearAccountFields()
|
EnterGame.clearAccountFields()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue