Skip to content
Snippets Groups Projects
Commit 627e9917 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fix for issue #522. A logout link is now provided in the 403 error page of the 'authorize' module.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3201 44740490-163a-0410-bde0-09ae8108e29a
parent 51b8f978
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
* @version $Id$ * @version $Id$
*/ */
global $state;
$this->data['403_header'] = $this->t('{authorize:Authorize:403_header}'); $this->data['403_header'] = $this->t('{authorize:Authorize:403_header}');
$this->data['403_text'] = $this->t('{authorize:Authorize:403_text}'); $this->data['403_text'] = $this->t('{authorize:Authorize:403_text}');
...@@ -18,6 +19,7 @@ $this->includeAtTemplateBase('includes/header.php'); ...@@ -18,6 +19,7 @@ $this->includeAtTemplateBase('includes/header.php');
?> ?>
<h1><?php echo $this->data['403_header']; ?></h1> <h1><?php echo $this->data['403_header']; ?></h1>
<p><?php echo $this->data['403_text']; ?></p> <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 <?php
$this->includeAtTemplateBase('includes/footer.php'); $this->includeAtTemplateBase('includes/footer.php');
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment