diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index 59a5df8dc44cd50afb3bbfd8c693de09bf1144ed..9178f251c62eab7661e3d9a2abc8661f4b17e024 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -480,7 +480,7 @@ class Template extends Response
         if ($this->controller) {
             $this->controller->display($this->data);
         }
-        return = $this->twig->render($this->twig_template, $this->data);
+        return $this->twig->render($this->twig_template, $this->data);
     }