dashboard
repositories
filestore
activity
search
login
modules
/
uphpCAS-tests
mirror of
https://github.com/jacekkow/uphpCAS-tests
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Fix Gradle output and Groovy dependency
Jacek Kowalski
2015-09-06
e0a945c2bd03b9d3af72981195c42e53081b0358
[modules/uphpCAS-tests]
/
portal
/
login-page
/
logout.php
1
2
3
4
5
6
7
8
9
10
11
<?
php
require_once
(
'uphpCAS.php'
);
session_start
();
try
{
$cas
=
new
uphpCAS
(
$_SESSION
[
'cas'
]);
$user
=
$cas
->
logout
();
}
catch
(
Exception
$e
)
{
echo
'Jasig authentication failed: '
.
$e
->
getMessage
();
die
();
}