LSauth::CAS : fix bug about LSAUTH_CAS_SERVER_SSL_CERT and LSAUTH_CAS_SERVER_SSL_CACERT parameters

This commit is contained in:
Benjamin Renard 2012-03-29 18:32:13 +02:00
parent 421d7f4dce
commit c3d88f4eaa

View file

@ -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);
}