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 serverUrl <> ""
|
||||||
'If this is a different server from what we know, reset username/password setting
|
'If this is a different server from what we know, reset username/password setting
|
||||||
if m.global.session.server.url <> serverUrl
|
if m.global.session.server.url <> serverUrl
|
||||||
set_setting("username", "")
|
set_setting("username", "")
|
||||||
set_setting("password", "")
|
set_setting("password", "")
|
||||||
end if
|
end if
|
||||||
set_setting("server", serverUrl)
|
set_setting("server", serverUrl)
|
||||||
|
end if
|
||||||
|
|
||||||
isConnected = session.server.UpdateURL(serverUrl)
|
isConnected = session.server.UpdateURL(serverUrl)
|
||||||
serverInfoResult = invalid
|
serverInfoResult = invalid
|
||||||
|
|
Loading…
Reference in New Issue
Block a user