mirror of https://github.com/jacekkow/uphpCAS

Jacek Kowalski
2015-09-06 5f67901c1b85a7b230b803666eb494d138d908ba
uphpCAS.php
@@ -123,7 +123,7 @@
   }
   
   public function logout($returnUrl = NULL) {
      session_start();
      @session_start();
      if($this->isAuthenticated()) {
         unset($_SESSION[$this->sessionName]);
         header('Location: '.$this->logoutUrl($returnUrl));
@@ -139,7 +139,7 @@
   }
   
   public function authenticate() {
      session_start();
      @session_start();
      if($this->isAuthenticated()) {
         return $_SESSION[$this->sessionName];
      } elseif(isset($_REQUEST['ticket'])) {