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
2efc16f2
Commit
2efc16f2
authored
Nov 06, 2018
by
Stephane Crozat
Browse files
Merge branch 'master' of gitlab.utc.fr:crozatst/apisub
parents
2a5962bd
875f1a5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/cas.php
View file @
2efc16f2
...
...
@@ -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