mirror of
https://github.com/SWG-Source/client-tools.git
synced 2026-01-16 23:04:27 -05:00
Fix storing user and pass in client cfg
This commit is contained in:
@@ -85,12 +85,19 @@ m_connecting (false)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_passwordTextbox->SetLocalText (Unicode::emptyString);
|
||||
if (ConfigClientGame::getLoginClientID()) {
|
||||
m_usernameTextbox->SetLocalText(Unicode::narrowToWide(ConfigClientGame::getLoginClientID()));
|
||||
}
|
||||
else {
|
||||
m_usernameTextbox->SetLocalText(Unicode::emptyString);
|
||||
}
|
||||
|
||||
if (ConfigClientGame::getLoginClientID ())
|
||||
m_usernameTextbox->SetLocalText (Unicode::narrowToWide (ConfigClientGame::getLoginClientID ()));
|
||||
else
|
||||
m_usernameTextbox->SetLocalText (Unicode::emptyString);
|
||||
if (ConfigClientGame::getLoginClientPassword()) {
|
||||
m_passwordTextbox->SetLocalText(Unicode::narrowToWide(ConfigClientGame::getLoginClientPassword()));
|
||||
}
|
||||
else {
|
||||
m_passwordTextbox->SetLocalText(Unicode::emptyString);
|
||||
}
|
||||
}
|
||||
|
||||
DEBUG_REPORT_LOG_PRINT (true, ("SwgCuiLoginScreen: username=%s, sessionId=%s\n", ConfigClientGame::getLoginClientID (), sessionId ? sessionId : "null"));
|
||||
|
||||
Reference in New Issue
Block a user