Commit 2efc16f2 authored by Stephane Crozat's avatar Stephane Crozat
Browse files

Merge branch 'master' of gitlab.utc.fr:crozatst/apisub

parents 2a5962bd 875f1a5e
...@@ -33,9 +33,10 @@ class CAS { ...@@ -33,9 +33,10 @@ class CAS {
header('Location: '.$this->server.'login?service='.$this->protocol.'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); header('Location: '.$this->server.'login?service='.$this->protocol.'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
} }
/* UNUSED, TODO
public function logout() { public function logout() {
header('Location: '.$this->server.'logout?service='.$this->protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']));//ou SCRIPT_NAME? 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. // 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