Pass ALL parameters through connect, allowing arbitrary additional parameters to be used for authentication. Previously, only an "id" parameter was passed to connect, and the contents of that parameter was the entire query string.

This commit is contained in:
Michael Jumper committed 2012-03-23 01:00:43 -07:00
1 parent 2d15986886
commit 12d206e73d
2 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@
// If only one connection, redirect to that.
if (configs.length == 1) {
window.location.href = "client.xhtml?" + encodeURIComponent(configs[0].id);
window.location.href = "client.xhtml?id=" + encodeURIComponent(configs[0].id);
return;
}