fix: saml settings certificate check

This commit is contained in:
Shivam Mishra
2025-08-25 14:29:43 +05:30
parent 7a33065efe
commit 92df56f738
@@ -46,7 +46,7 @@ class AccountSamlSettings < ApplicationRecord
end
def generate_certificate_fingerprint
return unless certificate.present?
return if certificate.blank?
begin
cert = OpenSSL::X509::Certificate.new(certificate)