diff --git a/htdocs/Login.vue b/htdocs/Login.vue index 31df4f6..69a01fb 100644 --- a/htdocs/Login.vue +++ b/htdocs/Login.vue @@ -133,7 +133,10 @@ console.log('Backend secret', this.secret); console.log(this.banner); var stop = watchEffect(() => { if(!this.x_client.connected.value) { stop(); this.x_client = this.x_server = this.x_user = null; this.fail = true; } }); - } else this.fail = true; + } else { + this.fail = true; + this.host = undefined; + } }, async login(evt) { if(this.x_client) {