Changed: Give priority to login specified as argument

--HG--
branch : develop
feature/pipeline-tools
kervala 9 years ago
parent a002b20c7f
commit c5e57273a9

@ -779,7 +779,8 @@ void initLoginScreen()
ClientApp = ClientCfg.ConfigFile.getVar("Application").asString(0);
string l = ClientCfg.LastLogin;
// give priority to login specified as argument
string l = !LoginLogin.empty() ? LoginLogin:ClientCfg.LastLogin;
if(!l.empty())
{

Loading…
Cancel
Save