Skip to content

Commit

Permalink
[ARP-86023] ARP IPF: Correct controller logic for user.verified.
Browse files Browse the repository at this point in the history
  • Loading branch information
nihil2501 committed Sep 7, 2024
1 parent c49b646 commit 89d9585
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def show
profile: {
first_name: @current_user.first_name,
last_name: @current_user.last_name,
verified:,
verified: @current_user.user_account.verified?,
sign_in: {
service_name: @current_user.sign_in[:service_name]
}
Expand All @@ -26,13 +26,6 @@ def show

private

def verified
# TODO: Should we make this a genuine derivation of the user's LOA? The
# source of truth of the fact that ARP's users are always verified is
# ARP's `SignIn::ClientConfig` which requires such a high LOA level.
true
end

def in_progress_forms
InProgressForm.for_user(@current_user).map do |form|
{
Expand Down

0 comments on commit 89d9585

Please sign in to comment.