diff --git a/app/controllers/concerns/saml_idp_auth_concern.rb b/app/controllers/concerns/saml_idp_auth_concern.rb index c1b426680f1..86cc4e84996 100644 --- a/app/controllers/concerns/saml_idp_auth_concern.rb +++ b/app/controllers/concerns/saml_idp_auth_concern.rb @@ -169,7 +169,7 @@ def attribute_asserter(principal) def decrypted_pii cacher = Pii::Cacher.new(current_user, user_session) - cacher.fetch + cacher.fetch(current_user&.active_profile&.id) end def build_asserted_attributes(principal)