Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
function init() {
if (token) {
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 {
} else if (localStorage.getItem('apiToken')) {
token = localStorage.getItem('apiToken');
} else {