4951: localStorage lookup much simplified and handled during page loading.
[arvados.git] / apps / workbench / app / controllers / users_controller.rb
index dae9ae5eb205c6903daea731b2a4eab12725e548..6d9d8cb7d193f80300601b1bb1e42d516041387a 100644 (file)
@@ -264,9 +264,6 @@ class UsersController < ApplicationController
     # current user's ssh keys
     @my_ssh_keys = AuthorizedKey.where(key_type: 'SSH', owner_uuid: current_user.uuid)
 
-    # when localStorage indicating previous shell access request, the url used is "manage_acct"
-    @local_storage_request_shell_access = true if request.url.include?('/manage_acct')
-
     respond_to do |f|
       f.html { render template: 'users/manage_account' }
     end