Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cas functions frr login

  • Loading branch information...
commit ec7d2201cca6e84fde74ad93307a5e1b6155c1f5 1 parent e6157a7
phoenixfr authored
Showing with 2 additions and 12 deletions.
  1. +2 −12 auth/cas/caslogin.php
View
14 auth/cas/caslogin.php
@@ -4,8 +4,8 @@
* CAS for login module
* 10.03.2004 Creation
*/
- require_once($CFG->dirroot."/config.php");
- include_once($CFG->dirroot.'/auth/cas/cas/CAS.php');
+ require_once($CFG->dirroot.'/config.php');
+ include_once($CFG->dirroot.'/lib/cas/CAS.php');
$cas_validate=false;
/**
@@ -90,14 +90,4 @@ function cas_automatic_authenticate ($user="") {
}
}
-
-/**
- * logout the user from CAS server (destroy the ticket)
-*/
-function cas_logout () {
- global $CFG;
- phpCAS::client($CFG->cas_version,$CFG->cas_hostname,(Integer)$CFG->cas_port,$CFG->cas_baseuri);
- $backurl = $CFG->wwwroot;
- phpCAS::logout($backurl);
-}
?>
Please sign in to comment.
Something went wrong with that request. Please try again.