Minor fix : use param in cas_logout()

1.9.x
Kevin LEVRON 12 years ago
parent b34e1a1a68
commit 1f8fb85d54
  1. 4
      main/auth/cas/authcas.php

@ -163,7 +163,7 @@ function cas_is_authenticated()
* Logs out the user of the cas
* The user MUST be logged in with cas to use this function
*
* @param $uinfo array user info
* @param $uinfo array user info (not needed)
* @param $location string redirect url
*
* @see online_logout()
@ -181,7 +181,7 @@ function cas_logout($uinfo=null, $location=null)
if (!isset($location))
$location = api_get_path(WEB_PATH);
phpCAS::logoutWithRedirectService(api_get_path(WEB_PATH));
phpCAS::logoutWithRedirectService($location);
}
?>

Loading…
Cancel
Save