dont fail if server not found

This commit is contained in:
sevenrats 2023-09-06 20:58:03 -04:00
parent a93b175586
commit 0d4ed65b29

View File

@ -252,8 +252,8 @@ function CreateServerGroup()
dialog = createObject("roSGNode", "ProgressDialog")
dialog.title = tr("Connecting to Server")
m.scene.dialog = dialog
serverUrl = inferServerUrl(screen.serverUrl)
if serverUrl = invalid then serverUrl = ""
'If this is a different server from what we know, reset username/password setting
if m.global.session.server.url <> serverUrl
set_setting("username", "")