From fa256b167bf29803f974c6e89877b90c44d1df8c Mon Sep 17 00:00:00 2001 From: John Bramley Date: Wed, 17 Apr 2024 09:00:47 -0600 Subject: [PATCH] rubocop --- .../representative_user_loader.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/accredited_representative_portal/app/services/accredited_representative_portal/representative_user_loader.rb b/modules/accredited_representative_portal/app/services/accredited_representative_portal/representative_user_loader.rb index da0e51f3dc1..1f29f749059 100644 --- a/modules/accredited_representative_portal/app/services/accredited_representative_portal/representative_user_loader.rb +++ b/modules/accredited_representative_portal/app/services/accredited_representative_portal/representative_user_loader.rb @@ -41,8 +41,11 @@ def sign_in end def authn_context - user_verification.credential_type == SignIn::Constants::Auth::IDME ? SignIn::Constants::Auth::IDME_LOA3 : - SignIn::Constants::Auth::LOGIN_GOV_IAL2 + if user_verification.credential_type == SignIn::Constants::Auth::IDME + SignIn::Constants::Auth::IDME_LOA3 + else + SignIn::Constants::Auth::LOGIN_GOV_IAL2 + end end def session