Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the broken logout button the SAML example

  • Loading branch information...
commit e8ca7fb72182fbd571a5293cf13db12772571beb 1 parent d1a0166
@jfritschi jfritschi authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/examples/example_advanced_saml11.php
View
5 docs/examples/example_advanced_saml11.php
@@ -42,6 +42,11 @@
// Force CAS authentication on any page that includes this file
phpCAS::forceAuthentication();
+
+// Some small code triggered by the logout button
+if (isset($_REQUEST['logout'])) {
+ phpCAS::logout();
+}
?>
<html>
<head>
Please sign in to comment.
Something went wrong with that request. Please try again.