We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4f1c59 commit 7a956e3Copy full SHA for 7a956e3
1 file changed
default-wp-saml-auth.php
@@ -30,7 +30,7 @@
30
namespace BEAPI\Plugin_Defaults\Wp_Saml_Auth;
31
32
// Constants to be defined as env vars
33
-if ( ! defined( 'SAML_IDP_ENTITY_ID' ) || ! defined( 'SAML_IDP_URL' ) || ! defined( 'SAML_LOGOUT_URL' ) || ! defined( 'SAML_CERT_PATH' ) ) {
+if ( ! defined( 'SAML_IDP_ENTITY_ID' ) || ! defined( 'SAML_IDP_URL' ) || ! defined( 'SAML_LOGOUT_URL' ) || ! defined( 'SAML_CERT_PATH' ) || ! file_exists( SAML_CERT_PATH ) ) {
34
return;
35
}
36
0 commit comments