summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2021-02-19 10:34:37 +0000
committerDennis Kobert <dennis@kobert.dev>2021-02-19 10:34:37 +0000
commitbc5da83a645c22e10971455b1a180cf62684b275 (patch)
tree3c0b7e38de935978aad83cb0ebb866c9611f53b1 /dist
parent5ae2fdf0e941b3ce13ad35363398782381179dad (diff)
Use the provided username
Diffstat (limited to 'dist')
-rw-r--r--dist/callback.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/callback.html b/dist/callback.html
index 555bede..c013416 100644
--- a/dist/callback.html
+++ b/dist/callback.html
@@ -105,7 +105,7 @@
sessionStorage.setItem('token', token);
sessionStorage.setItem('lobby', lobby);
document.getElementById("Connect_button").disabled = true;
- window.location = api + "/token/" + token;
+ window.location = api + "/token/" + document.getElementById("username").value + "/" + token;
}
function populate_users() {
lobby = getParameterByName("lobby");