Additionally check "://".
This commit is contained in:
parent
667c02f668
commit
1c48050fc0
|
@ -136,7 +136,7 @@ Page {
|
|||
}
|
||||
|
||||
onClicked: {
|
||||
if (!serverField.text.startsWith("http")) {
|
||||
if (!(serverField.text.startsWith("http") && serverField.text.includes("://"))) {
|
||||
loginButtonTooltip.text = "Server address should start with http(s)://"
|
||||
loginButtonTooltip.open()
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue