14455: Update loofah & nokogiri on workbench & api for security reasons.
[arvados.git] / services / api / app / controllers / user_sessions_controller.rb
index b8fe2948923582ad9f40f3ec00c394cd6b2473ec..020dfa53b83a6ba645a79a1696b84968144cc0cd 100644 (file)
@@ -159,7 +159,7 @@ class UserSessionsController < ApplicationController
     else
       callback_url += '?'
     end
-    callback_url += 'api_token=' + api_client_auth.api_token
+    callback_url += 'api_token=' + api_client_auth.token
     redirect_to callback_url
   end