Revision: 3213 Author: jaim...@gmail.com Date: Thu Dec 13 05:08:44 2012 Log: Fix for SLO in WS-Fed. http://code.google.com/p/simplesamlphp/source/detail?r=3213
Modified: /trunk/www/wsfed/sp/prp.php ======================================= --- /trunk/www/wsfed/sp/prp.php Tue Nov 16 06:31:37 2010 +++ /trunk/www/wsfed/sp/prp.php Thu Dec 13 05:08:44 2012 @@ -24,7 +24,12 @@ throw new SimpleSAML_Error_Error('NOACCESS'); if (!empty($_GET['wa']) and ($_GET['wa'] == 'wsignoutcleanup1.0')) { - print 'Logged Out'; + if (isset($session) && $session->isValid('wsfed')) { + $session->doLogout('wsfed'); + } + if (!empty($_GET['wreply'])) { + SimpleSAML_Utilities::redirect(urldecode($_GET['wreply'])); + } exit; } -- You received this message because you are subscribed to the Google Groups "simpleSAMLphp commits" group. To post to this group, send email to simplesamlphp-commits@googlegroups.com. To unsubscribe from this group, send email to simplesamlphp-commits+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simplesamlphp-commits?hl=en.