diff --git a/modules/authorize/templates/authorize_403.php b/modules/authorize/templates/authorize_403.php
index ee16d96a78b2bffb5ef237aa4e95ada165042659..a3162d0a1369ac31a2d06e9e99eef1b6cefb0f05 100644
--- a/modules/authorize/templates/authorize_403.php
+++ b/modules/authorize/templates/authorize_403.php
@@ -18,9 +18,9 @@ $this->includeAtTemplateBase('includes/header.php');
 <h1><?php echo $this->data['403_header']; ?></h1>
 <p><?php echo $this->data['403_text']; ?></p>
 <?php
-if (isset($this->data['LogoutURL'])) {
+if (isset($this->data['logoutURL'])) {
 ?>
-<p><a href="<?php echo htmlspecialchars($this->data['LogoutURL']); ?>"><?php echo $this->t('{status:logout}'); ?></a></p>
+<p><a href="<?php echo htmlspecialchars($this->data['logoutURL']); ?>"><?php echo $this->t('{status:logout}'); ?></a></p>
 <?php
 }
 ?>
diff --git a/modules/authorize/templates/authorize_403.twig b/modules/authorize/templates/authorize_403.twig
index 1a60813dc7ca1a832c0d4e9bfd00f6e84975baa8..3f6402e923d727e04a639f9a7c92686979574677 100644
--- a/modules/authorize/templates/authorize_403.twig
+++ b/modules/authorize/templates/authorize_403.twig
@@ -3,9 +3,9 @@
 {% block content %}
   <h1>{{ '{authorize:Authorize:403_header}'|trans }}</h1>
   <p>{{ '{authorize:Authorize:403_text}'|trans }}</p>
-  {% if LogoutURL is defined %}
+  {% if logoutURL is defined %}
   <p>
-      <a href="{{ LogoutURL|escape('html') }}">{{ '{status:logout}'|trans }}</a>
+      <a href="{{ logoutURL|escape('html') }}">{{ '{status:logout}'|trans }}</a>
   </p>
   {% endif %}
 {% endblock%}
diff --git a/modules/authorize/www/authorize_403.php b/modules/authorize/www/authorize_403.php
index 158fe11a9bffdf51348937aa09427d8a77238e00..42f504f9fe32f6e6bc965fc713de555998caf384 100644
--- a/modules/authorize/www/authorize_403.php
+++ b/modules/authorize/www/authorize_403.php
@@ -13,7 +13,7 @@ $state = \SimpleSAML\Auth\State::loadState($_REQUEST['StateId'], 'authorize:Auth
 $globalConfig = \SimpleSAML\Configuration::getInstance();
 $t = new \SimpleSAML\XHTML\Template($globalConfig, 'authorize:authorize_403.php');
 if (isset($state['Source']['auth'])) {
-    $t->data['LogoutURL'] = \SimpleSAML\Module::getModuleURL('core/authenticate.php', array('as' => $state['Source']['auth']))."&logout";
+    $t->data['logoutURL'] = \SimpleSAML\Module::getModuleURL('core/authenticate.php', array('as' => $state['Source']['auth']))."&logout";
 }
 header('HTTP/1.0 403 Forbidden');
 $t->show();