17229: Webshell clear token from variable after logging in
authorStephen Smith <stephen@curii.com>
Thu, 16 Sep 2021 20:12:29 +0000 (16:12 -0400)
committerStephen Smith <stephen@curii.com>
Thu, 16 Sep 2021 20:12:29 +0000 (16:12 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

public/webshell/index.html

index ce903aa08d0e9f7969691e1fa49cf9016dfe1758..3f25aed59b4447a9817f66d1fdd5a722211f19de 100644 (file)
@@ -53,6 +53,7 @@
           if (findText("assword:")) {
              sh.keysPressed(token + "\n");
              sh.vt100('(sent authentication token)\n');
+             token = null;
           } else {
             setTimeout(trySendToken, 200);
           }