Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Check seed_from_env manually

Oliver Günther61ce42752c26
diff --git a/modules/auth_saml/app/models/saml/provider.rb b/modules/auth_saml/app/models/saml/provider.rb
index 7b156dbbf8d..6e081d79e83 100644
--- a/modules/auth_saml/app/models/saml/provider.rb
+++ b/modules/auth_saml/app/models/saml/provider.rb
@@ -4,7 +4,6 @@ module Saml
store_attribute :options, :icon, :string
store_attribute :options, :sp_entity_id, :string
- store_attribute :options, :seeded_from_env, :boolean
store_attribute :options, :name_identifier_format, :string
store_attribute :options, :metadata_url, :string
store_attribute :options, :metadata_xml, :string
@@ -49,7 +48,7 @@ module Saml
def self.slug_fragment = "saml"
def seeded_from_env?
- seeded_from_env == true
+ (Setting.seed_saml_provider || {}).key?(slug)
end
def has_metadata?