projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d82331f
)
Upgrade script/create_superuser_token.rb in the api server codebase to
author
Ward Vandewege <ward@curii.com>
Thu, 3 Dec 2020 14:13:36 +0000
(09:13 -0500)
committer
Ward Vandewege <ward@curii.com>
Thu, 3 Dec 2020 14:13:36 +0000
(09:13 -0500)
generate v2 tokens.
refs #17022
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
services/api/lib/create_superuser_token.rb
patch
|
blob
|
history
diff --git
a/services/api/lib/create_superuser_token.rb
b/services/api/lib/create_superuser_token.rb
index 57eac048a9595b6d2bb5e139d7a191caa3e70017..7a18d970582786e860a0378717340e5e6ba3f3f1 100755
(executable)
--- 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