Skip to content

Commit

Permalink
Fixes #5048 - SSL verification for SAML throws an error
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaefer committed Feb 8, 2024
1 parent bf591bf commit 2db7974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/setting/validation/saml/tls.rb
Expand Up @@ -28,7 +28,7 @@ def check_tls_verification
}
)

return nil if resp.error.empty? || !resp.error.starts_with?('#<OpenSSL::SSL::SSLError')
return nil if resp.error.nil? || !resp.error.starts_with?('#<OpenSSL::SSL::SSLError')

__('The verification of the TLS connection failed. Please check the IDP certificate.')
end
Expand Down

0 comments on commit 2db7974

Please sign in to comment.