projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18858: Doc site URL fix.
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
sessions_controller.rb
diff --git
a/apps/workbench/app/controllers/sessions_controller.rb
b/apps/workbench/app/controllers/sessions_controller.rb
index bff0f9f1c96ed8267470c350e24f92d268f5baf5..6557fc0626a55627730b055a3a48920e89635b14 100644
(file)
--- a/
apps/workbench/app/controllers/sessions_controller.rb
+++ b/
apps/workbench/app/controllers/sessions_controller.rb
@@
-10,8
+10,9
@@
class SessionsController < ApplicationController
skip_before_action :ensure_arvados_api_exists
def destroy
skip_before_action :ensure_arvados_api_exists
def destroy
+ token = session[:arvados_api_token]
session.clear
session.clear
- redirect_to arvados_api_client.arvados_logout_url(return_to: root_url)
+ redirect_to arvados_api_client.arvados_logout_url(return_to: root_url
, api_token: token
)
end
def logged_out
end
def logged_out