From 14b5f9607fee9b1c21481959c1dd7d9a7094fa25 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Tue, 1 Feb 2022 11:43:47 +0100
Subject: [PATCH] fixup

---
 templates/web/edugain/errors.html.tt2 | 2 +-
 templates/web/renater/errors.html.tt2 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/web/edugain/errors.html.tt2 b/templates/web/edugain/errors.html.tt2
index 9fc9c76..5dd4f96 100644
--- a/templates/web/edugain/errors.html.tt2
+++ b/templates/web/edugain/errors.html.tt2
@@ -28,7 +28,7 @@
         [% ELSIF error == 'no_displayname_attribute' %]
         [% c.loc("your identity provider doesn't provide displayName attribute, required for this application") %]
 
-        [% ELSIF (matches = err.match('missing_(\w+)')) %]
+        [% ELSIF (matches = error.match('missing_(\w+)')) %]
         [% c.loc("missing parameter '[_1]'", matches.0) %]
 
         [% ELSE %]
diff --git a/templates/web/renater/errors.html.tt2 b/templates/web/renater/errors.html.tt2
index 2071ec7..a9ad75f 100644
--- a/templates/web/renater/errors.html.tt2
+++ b/templates/web/renater/errors.html.tt2
@@ -25,7 +25,7 @@
         [% ELSIF error == 'unauthenticated' %]
         [% c.loc("you need to authenticate to access this page") %]
 
-        [% ELSIF (matches = err.match('missing_(\w+)')) %]
+        [% ELSIF (matches = error.match('missing_(\w+)')) %]
         [% c.loc("missing parameter '[_1]'", matches.0) %]
 
         [% ELSE %]
-- 
GitLab