[ARVADOS] created: 1.2.0-456-gbe3e5a802
Git user
git at public.curoverse.com
Thu Nov 29 09:07:29 EST 2018
at be3e5a802455de0dc5e6167104a2a3f66de84a44 (commit)
commit be3e5a802455de0dc5e6167104a2a3f66de84a44
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date: Thu Nov 29 11:06:54 2018 -0300
14551: Uses v2 token to log in as a user.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>
diff --git a/apps/workbench/app/controllers/users_controller.rb b/apps/workbench/app/controllers/users_controller.rb
index 8cfc2c10f..c954944e0 100644
--- a/apps/workbench/app/controllers/users_controller.rb
+++ b/apps/workbench/app/controllers/users_controller.rb
@@ -144,7 +144,7 @@ class UsersController < ApplicationController
owner_uuid: @object.uuid
}
})
- redirect_to root_url(api_token: resp[:api_token])
+ redirect_to root_url(api_token: "v2/#{resp[:uuid]}/#{resp[:api_token]}")
end
def home
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list