[ARVADOS] updated: 76b8c9664d1f3bd4f1513fa86735f29639d0bb11

git at public.curoverse.com git at public.curoverse.com
Thu Jul 31 10:19:59 EDT 2014


Summary of changes:
 apps/workbench/app/views/users/_manage_current_token.html.erb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

       via  76b8c9664d1f3bd4f1513fa86735f29639d0bb11 (commit)
      from  079d6e0e42bfde5f21bd00e963c3a180d2950f5b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 76b8c9664d1f3bd4f1513fa86735f29639d0bb11
Author: radhika <radhika at curoverse.com>
Date:   Thu Jul 31 10:02:54 2014 -0400

    3193: use HISTIGNORE for current token display

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 583ac48..71c6bd2 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 @@
 <p>Paste the following lines at a shell prompt to set up the necessary environment for Arvados SDKs to authenticate to your account, <b><%= current_user.email %></b></p>
 
 <pre>
-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 %>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list