X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b2b6b598deb6d09a0de1560fcf4b36ab8c66a369..41c7f2010ebdbb76fada25a21f184e2d1f4049b3:/apps/workbench/app/views/users/_manage_current_token.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/users/_manage_current_token.html.erb b/apps/workbench/app/views/users/_manage_current_token.html.erb index 583ac48f3f..71c6bd246b 100644 --- a/apps/workbench/app/views/users/_manage_current_token.html.erb +++ b/apps/workbench/app/views/users/_manage_current_token.html.erb @@ -2,10 +2,9 @@
Paste the following lines at a shell prompt to set up the necessary environment for Arvados SDKs to authenticate to your account, <%= current_user.email %>
-read ARVADOS_API_TOKEN <<EOF -<%= Thread.current[:arvados_api_token] %> -EOF -export ARVADOS_API_TOKEN ARVADOS_API_HOST=<%= current_api_host %> +HISTIGNORE=$HISTIGNORE:'export ARVADOS_API_TOKEN=*' +export ARVADOS_API_TOKEN=<%= Thread.current[:arvados_api_token] %> +export ARVADOS_API_HOST=<%= current_api_host %> <% if Rails.configuration.arvados_insecure_https %> export ARVADOS_API_HOST_INSECURE=true <% else %>