Commit 875f1a5e authored by Stephane Crozat's avatar Stephane Crozat
Browse files

comment function logout, unused

parent 0879efb0
Pipeline #29177 failed with stages
......@@ -33,9 +33,10 @@ class CAS {
header('Location: '.$this->server.'login?service='.$this->protocol.'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
public function logout() {
header('Location: '.$this->server.'logout?service='.$this->protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']));//ou SCRIPT_NAME?
// On n'utilise pas REQUEST_URI sinon cela déconnecterait à l'infini.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment