diff --git a/src/renderer/components/Login.vue b/src/renderer/components/Login.vue
index 21fa9c99..87afd5a5 100644
--- a/src/renderer/components/Login.vue
+++ b/src/renderer/components/Login.vue
@@ -36,7 +36,7 @@ export default {
diff --git a/src/renderer/components/Login/LoginForm.vue b/src/renderer/components/Login/LoginForm.vue
index 60ba2016..e9ec34b5 100644
--- a/src/renderer/components/Login/LoginForm.vue
+++ b/src/renderer/components/Login/LoginForm.vue
@@ -1,7 +1,7 @@
-
+
@@ -106,16 +106,33 @@ export default {
return false
}
})
+ },
+ handleKey (event) {
+ if (!this.selectedInstance) {
+ this.confirm('loginForm')
+ } else {
+ this.login()
+ }
}
}
}