Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions app/controllers/idv/hybrid_handoff_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class HybridHandoffController < ApplicationController
include StepUtilitiesConcern

before_action :confirm_two_factor_authenticated
before_action :render_404_if_hybrid_handoff_controller_disabled
before_action :confirm_agreement_step_complete
before_action :confirm_hybrid_handoff_needed, only: :show

Expand Down Expand Up @@ -206,10 +205,6 @@ def failure(message, extra = nil)
FormResponse.new(**form_response_params)
end

def render_404_if_hybrid_handoff_controller_disabled
render_not_found unless IdentityConfig.store.doc_auth_hybrid_handoff_controller_enabled
end

def confirm_agreement_step_complete
return if flow_session['Idv::Steps::AgreementStep']

Expand Down