diff --git a/app/controllers/openid_connect/authorization_controller.rb b/app/controllers/openid_connect/authorization_controller.rb index 0976f1acf36..74635175edf 100644 --- a/app/controllers/openid_connect/authorization_controller.rb +++ b/app/controllers/openid_connect/authorization_controller.rb @@ -21,7 +21,6 @@ class AuthorizationController < ApplicationController before_action :bump_auth_count, only: [:index] def index - return redirect_to_threatmetrix_review if threatmetrix_review_pending_for_ial2_request? return redirect_to_account_or_verify_profile_url if profile_or_identity_needs_verification? return redirect_to(sign_up_completed_url) if needs_completion_screen_reason link_identity_to_service_provider diff --git a/app/controllers/saml_idp_controller.rb b/app/controllers/saml_idp_controller.rb index c7650735abb..7130cc695b5 100644 --- a/app/controllers/saml_idp_controller.rb +++ b/app/controllers/saml_idp_controller.rb @@ -25,7 +25,6 @@ class SamlIdpController < ApplicationController def auth capture_analytics - return redirect_to_threatmetrix_review if threatmetrix_review_pending? && ial2_requested? return redirect_to_verification_url if profile_or_identity_needs_verification_or_decryption? return redirect_to(sign_up_completed_url) if needs_completion_screen_reason if auth_count == 1 && first_visit_for_sp? diff --git a/app/forms/gpo_verify_form.rb b/app/forms/gpo_verify_form.rb index 70174a73e47..356c0c83f4c 100644 --- a/app/forms/gpo_verify_form.rb +++ b/app/forms/gpo_verify_form.rb @@ -21,8 +21,6 @@ def submit if pending_in_person_enrollment? UspsInPersonProofing::EnrollmentHelper.schedule_in_person_enrollment(user, pii) pending_profile&.deactivate(:in_person_verification_pending) - elsif threatmetrix_check_failed? - pending_profile&.deactivate(:threatmetrix_review_pending) else activate_profile end diff --git a/spec/features/idv/steps/gpo_otp_verification_step_spec.rb b/spec/features/idv/steps/gpo_otp_verification_step_spec.rb index 68b612a6ef8..7921f85cf15 100644 --- a/spec/features/idv/steps/gpo_otp_verification_step_spec.rb +++ b/spec/features/idv/steps/gpo_otp_verification_step_spec.rb @@ -48,21 +48,21 @@ it_behaves_like 'gpo otp verification' end - context 'ThreatMetrix says "review"' do - let(:threatmetrix_review_status) { 'review' } - let(:redirect_after_verification) { idv_setup_errors_path } - let(:profile_should_be_active) { false } - let(:expected_deactivation_reason) { 'threatmetrix_review_pending' } - it_behaves_like 'gpo otp verification' - end + # context 'ThreatMetrix says "review"' do + # let(:threatmetrix_review_status) { 'review' } + # let(:redirect_after_verification) { idv_setup_errors_path } + # let(:profile_should_be_active) { false } + # let(:expected_deactivation_reason) { 'threatmetrix_review_pending' } + # it_behaves_like 'gpo otp verification' + # end - context 'ThreatMetrix says "reject"' do - let(:threatmetrix_review_status) { 'reject' } - let(:redirect_after_verification) { idv_setup_errors_path } - let(:profile_should_be_active) { false } - let(:expected_deactivation_reason) { 'threatmetrix_review_pending' } - it_behaves_like 'gpo otp verification' - end + # context 'ThreatMetrix says "reject"' do + # let(:threatmetrix_review_status) { 'reject' } + # let(:redirect_after_verification) { idv_setup_errors_path } + # let(:profile_should_be_active) { false } + # let(:expected_deactivation_reason) { 'threatmetrix_review_pending' } + # it_behaves_like 'gpo otp verification' + # end context 'No ThreatMetrix result on proofing component' do let(:threatmetrix_review_status) { nil }