From fc3b37331a953b9efcd5e517c70135069cb6df1d Mon Sep 17 00:00:00 2001 From: Michael Harrison Date: Thu, 18 Jan 2024 16:20:12 -0600 Subject: [PATCH] just check if they are confirmed --- app/routines/newflow/create_or_update_salesforce_lead.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routines/newflow/create_or_update_salesforce_lead.rb b/app/routines/newflow/create_or_update_salesforce_lead.rb index f34d1704e..90a9bce6d 100644 --- a/app/routines/newflow/create_or_update_salesforce_lead.rb +++ b/app/routines/newflow/create_or_update_salesforce_lead.rb @@ -46,7 +46,7 @@ def exec(user:) end # The user has not finished signing up, check for confirmed faculty if they were verified by sheerid - if !user.is_profile_complete? && !user.faculty_status.include?(:confirmed_faculty, :pending_sheerid, :rejected_by_sheerid) + if !user.is_profile_complete? && !user.faculty_status == :confirmed_faculty user.faculty_status = :incomplete_signup end