Permalink
Browse files

Fix the broken logout button the SAML example

  • Loading branch information...
jfritschi committed Jun 10, 2012
1 parent d1a0166 commit e8ca7fb72182fbd571a5293cf13db12772571beb
Showing with 5 additions and 0 deletions.
  1. +5 −0 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>

0 comments on commit e8ca7fb

Please sign in to comment.