SPDX-License-Identifier: AGPL-3.0 %>
-<html>
+<!DOCTYPE html>
+<html lang="en">
+ <head>
<title><%= @object.hostname %> / <%= Rails.configuration.Workbench.SiteName %></title>
<link rel="stylesheet" href="<%= asset_path 'webshell/styles.css' %>" type="text/css">
<style type="text/css">
var trySendToken = function() {
// change this text when PAM is reconfigured to present a
// password prompt that we can wait for.
- if (findText("login:")) {
+ if (findText("assword:")) {
sh.keysPressed("<%= j Thread.current[:arvados_api_token] %>\n");
sh.vt100('(sent authentication token)\n');
} else {
sh.keysPressed("<%= j params[:login] %>\n");
// Make this wait shorter when PAM is reconfigured to
// present a password prompt that we can wait for.
- setTimeout(trySendToken, 3000);
+ setTimeout(trySendToken, 200);
} else {
setTimeout(trySendLogin, 200);
}