lib/osso/models/identity_provider.rb in osso-0.0.5.pre.lambda vs lib/osso/models/identity_provider.rb in osso-0.0.5.pre.theta

- old
+ new

@@ -4,10 +4,10 @@ module Models # Base class for SAML Providers class IdentityProvider < ActiveRecord::Base belongs_to :enterprise_account belongs_to :oauth_client - has_many :users, dependent: :delete_all + has_many :users before_save :set_status validate :sso_cert_valid enum status: { pending: "PENDING", configured: 'CONFIGURED', active: "ACTIVE", error: "ERROR"}