17229: Webshell variable typo
authorStephen Smith <stephen@curii.com>
Mon, 20 Sep 2021 14:29:16 +0000 (10:29 -0400)
committerStephen Smith <stephen@curii.com>
Mon, 20 Sep 2021 14:29:16 +0000 (10:29 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

public/webshell/index.html

index 4044f99414c33184147d62ae5057697b4e84d95d..722cab5a887ef733df22babefcec33c3b1303620 100644 (file)
@@ -84,7 +84,7 @@
 
       function init() {
         if (token) {
-          history.replaceState(null, "", `/webshell/?host=${encodeURIComponent(host)}&login=${encodeURIComponent(login)}`);
+          history.replaceState(null, "", `/webshell/?host=${encodeURIComponent(host)}&login=${encodeURIComponent(user)}`);
         } else if (localStorage.getItem('apiToken')) {
           token = localStorage.getItem('apiToken');
         } else {