[ARVADOS] updated: 2.1.0-182-g1cd3e6f76

Git user git at public.arvados.org
Thu Dec 3 14:14:19 UTC 2020


Summary of changes:
 services/api/lib/create_superuser_token.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  1cd3e6f767a514662e55630bc21f4efaadd47ae8 (commit)
      from  d82331f5dc7860005cf88dab9a8f298ae402a857 (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 1cd3e6f767a514662e55630bc21f4efaadd47ae8
Author: Ward Vandewege <ward at curii.com>
Date:   Thu Dec 3 09:13:36 2020 -0500

    Upgrade script/create_superuser_token.rb in the api server codebase to
    generate v2 tokens.
    
    refs #17022
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/services/api/lib/create_superuser_token.rb b/services/api/lib/create_superuser_token.rb
index 57eac048a..7a18d9705 100755
--- a/services/api/lib/create_superuser_token.rb
+++ b/services/api/lib/create_superuser_token.rb
@@ -54,7 +54,7 @@ module CreateSuperUserToken
         end
       end
 
-      api_client_auth.api_token
+      "v2/" + api_client_auth.uuid + "/" + api_client_auth.api_token
     end
   end
 end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list