Account.sole → Current.account

and some other de-tenant changes, including removing the controller
tenanting concerns
This commit is contained in:
Mike Dalessio
2025-11-10 07:58:40 -05:00
parent 6705b5225f
commit d41d50d52b
40 changed files with 67 additions and 96 deletions
@@ -1,5 +1,4 @@
class Sessions::MagicLinksController < ApplicationController
require_untenanted_access
require_unauthenticated_access
rate_limit to: 10, within: 15.minutes, only: :create, with: -> { redirect_to session_magic_link_path, alert: "Try again in 15 minutes." }
@@ -1,6 +1,4 @@
class Sessions::MenusController < ApplicationController
require_untenanted_access
before_action(if: :render_as_menu_section?) { request.variant = :menu_section }
layout "public"
@@ -1,5 +1,4 @@
class Sessions::TransfersController < ApplicationController
require_untenanted_access
require_unauthenticated_access
def show