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