From c3d88f4eaad08869963de27cdab91ea0a61a2d29 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 29 Mar 2012 18:32:13 +0200 Subject: [PATCH] LSauth::CAS : fix bug about LSAUTH_CAS_SERVER_SSL_CERT and LSAUTH_CAS_SERVER_SSL_CACERT parameters --- public_html/includes/class/class.LSauthMethod_CAS.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/includes/class/class.LSauthMethod_CAS.php b/public_html/includes/class/class.LSauthMethod_CAS.php index fe9f71b2..9e904b1b 100644 --- a/public_html/includes/class/class.LSauthMethod_CAS.php +++ b/public_html/includes/class/class.LSauthMethod_CAS.php @@ -42,11 +42,11 @@ class LSauthMethod_CAS extends LSauthMethod { phpCAS::setNoCasServerValidation(); } - if (defined(LSAUTH_CAS_SERVER_SSL_CERT)) { + if (defined('LSAUTH_CAS_SERVER_SSL_CERT')) { phpCAS::setCasServerCert(LSAUTH_CAS_SERVER_SSL_CERT); } - if (defined(LSAUTH_CAS_SERVER_SSL_CACERT)) { + if (defined('LSAUTH_CAS_SERVER_SSL_CACERT')) { phpCAS::setCasServerCACert(LSAUTH_CAS_SERVER_SSL_CACERT); }