X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8514f29184502ce8b39c0c67489740006f6bd5a9..9921c58649fcbda169f10cf0a2f0e21620b0e3cd:/apps/workbench/app/controllers/application_controller.rb diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb index 4353f3abec..4468df459a 100644 --- a/apps/workbench/app/controllers/application_controller.rb +++ b/apps/workbench/app/controllers/application_controller.rb @@ -418,7 +418,6 @@ class ApplicationController < ActionController::Base is_admin: user.is_admin, prefs: user.prefs } - session[:skip_profile] = params[:skip_profile] if !request.format.json? and request.method.in? ['GET', 'HEAD'] # Repeat this request with api_token in the (new) session @@ -516,7 +515,7 @@ class ApplicationController < ActionController::Base def check_user_profile @profile_config = Rails.configuration.user_profile_form_fields - if params[:skip_profile] || session[:skip_profile] || request.method.downcase != 'get' + if request.method.downcase != 'get' || params[:partials] return true end