Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
apisub
Commits
875f1a5e
Commit
875f1a5e
authored
Oct 22, 2018
by
Stephane Crozat
Browse files
comment function logout, unused
parent
0879efb0
Pipeline
#29177
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/cas.php
View file @
875f1a5e
...
...
@@ -33,9 +33,10 @@ class CAS {
header
(
'Location: '
.
$this
->
server
.
'login?service='
.
$this
->
protocol
.
'://'
.
$_SERVER
[
'HTTP_HOST'
]
.
$_SERVER
[
'REQUEST_URI'
]);
}
/* UNUSED, TODO
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.
}
*/
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment