Skip to content

Commit

Permalink
just check if they are confirmed
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo committed Jan 18, 2024
1 parent 687894b commit fc3b373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routines/newflow/create_or_update_salesforce_lead.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fc3b373

Please sign in to comment.