From f818f462eaa715bd9c50b59445e3a291d77c4e9e Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 28 Aug 2025 16:33:29 +0530 Subject: [PATCH] chore: remove attribute mapping --- enterprise/app/models/account_saml_settings.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/enterprise/app/models/account_saml_settings.rb b/enterprise/app/models/account_saml_settings.rb index aa6ef962e..6cc8314be 100644 --- a/enterprise/app/models/account_saml_settings.rb +++ b/enterprise/app/models/account_saml_settings.rb @@ -31,14 +31,6 @@ class AccountSamlSettings < ApplicationRecord sp_entity_id.presence || "#{installation_name}-#{account_id}".downcase end - def attribute_mappings - { - 'email' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress', - 'first_name' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname', - 'last_name' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname' - } - end - private def installation_name