Revision: 3201
Author:   jaim...@gmail.com
Date:     Fri Nov 16 02:10:36 2012
Log: Fix for issue #522. A logout link is now provided in the 403 error page of the 'authorize' module.
http://code.google.com/p/simplesamlphp/source/detail?r=3201

Modified:
 /trunk/modules/authorize/templates/authorize_403.php

=======================================
--- /trunk/modules/authorize/templates/authorize_403.php Mon Oct 5 04:03:33 2009 +++ /trunk/modules/authorize/templates/authorize_403.php Fri Nov 16 02:10:36 2012
@@ -10,6 +10,7 @@
  * @version $Id$
  */

+global $state;

 $this->data['403_header'] = $this->t('{authorize:Authorize:403_header}');
 $this->data['403_text'] = $this->t('{authorize:Authorize:403_text}');
@@ -18,6 +19,7 @@
 ?>
 <h1><?php echo $this->data['403_header']; ?></h1>
 <p><?php echo $this->data['403_text']; ?></p>
+<p><a href="<?php echo SimpleSAML_Module::getModuleURL('core/authenticate.php', array('as' => $state['Source']['auth']))."&logout"; ?>"><?php echo $this->t('{status:logout}'); ?></a></p>
 <?php
 $this->includeAtTemplateBase('includes/footer.php');
 ?>

--
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.

Reply via email to