예제 #1
0
 public static function logout($parameters)
 {
     if (\OC::$server->getConfig()->getAppValue('user_cas', 'cas_disable_logout', false)) {
         return true;
     }
     $casBackend = OC_USER_CAS::getInstance();
     if (phpCAS::isAuthenticated()) {
         phpCAS::logout();
     }
     return true;
 }
예제 #2
0
파일: hooks.php 프로젝트: anolisti/apps
 public static function logout($parameters)
 {
     $casBackend = OC_USER_CAS::getInstance();
     if (phpCAS::isAuthenticated()) {
         phpCAS::logout();
     }
     return true;
 }