address comment
This commit is contained in:
parent
ec7ad49792
commit
30bd09e558
|
@ -253,12 +253,14 @@ function CreateServerGroup()
|
||||||
dialog.title = tr("Connecting to Server")
|
dialog.title = tr("Connecting to Server")
|
||||||
m.scene.dialog = dialog
|
m.scene.dialog = dialog
|
||||||
serverUrl = inferServerUrl(screen.serverUrl)
|
serverUrl = inferServerUrl(screen.serverUrl)
|
||||||
'If this is a different server from what we know, reset username/password setting
|
if serverUrl <> ""
|
||||||
if m.global.session.server.url <> serverUrl
|
'If this is a different server from what we know, reset username/password setting
|
||||||
set_setting("username", "")
|
if m.global.session.server.url <> serverUrl
|
||||||
set_setting("password", "")
|
set_setting("username", "")
|
||||||
|
set_setting("password", "")
|
||||||
|
end if
|
||||||
|
set_setting("server", serverUrl)
|
||||||
end if
|
end if
|
||||||
set_setting("server", serverUrl)
|
|
||||||
|
|
||||||
isConnected = session.server.UpdateURL(serverUrl)
|
isConnected = session.server.UpdateURL(serverUrl)
|
||||||
serverInfoResult = invalid
|
serverInfoResult = invalid
|
||||||
|
|
Loading…
Reference in New Issue
Block a user