From bc5da83a645c22e10971455b1a180cf62684b275 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Fri, 19 Feb 2021 10:34:37 +0000 Subject: Use the provided username --- dist/callback.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist') 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"); -- cgit v1.2.3-70-g09d2