diff --git a/api/app/index.html b/api/app/index.html
index 170411a..00eada0 100644
--- a/api/app/index.html
+++ b/api/app/index.html
@@ -176,6 +176,13 @@
refreshServers();
window.setInterval(refreshServers, 3000);
+ // Add a key listener to the dialog's password field, so pressing ENTER submits the form.
+ const keyInput = document.getElementById("client-key-input");
+ keyInput.addEventListener("keydown", (ev) => {
+ if (ev.code === "Enter") {
+ submitServerRequest();
+ }
+ })