diff --git a/html5/index.html b/html5/index.html
index 50747606..d28e05d4 100644
--- a/html5/index.html
+++ b/html5/index.html
@@ -1094,7 +1094,9 @@
Xpra Bug Report
props["debug_" + category] = true;
}
if (insecure || Utilities.hasSessionStorage()) {
- props["password"] = password;
+ for (let i = 0; i < passwords.length; i++) {
+ add_prop("password"+i, passwords[i]);
+ }
} else {
props["password"] = "";
}