Merge branch 'master' into 3193-manage-account
[arvados.git] / apps / workbench / app / views / users / _manage_current_token.html.erb
index b87d80acd76a5d278c03e0654e0fec67a39bc3b0..33633edc61464839e59fa1ca9e6798a83b88c0cd 100644 (file)
@@ -1,8 +1,6 @@
 ### Pasting the following lines at a shell prompt will allow Arvados SDKs</br>
-### to authenticate to your account, <%= current_user.email %></br></br>
-read ARVADOS_API_TOKEN &lt;&lt;EOF</br>
-<%= Thread.current[:arvados_api_token] %></br>
-EOF</br>
+### to authenticate to your account, <%= current_user.email %></br>
+export ARVADOS_API_TOKEN=<%= Thread.current[:arvados_api_token] %></br>
 export ARVADOS_API_TOKEN ARVADOS_API_HOST=<%= current_api_host %></br>
 <% if Rails.configuration.arvados_insecure_https %>
 export ARVADOS_API_HOST_INSECURE=true</br>