From ce31af90f63c5bed6ffab1153ea6efe91feecfd3 Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@le-filament.com>
Date: Tue, 4 Mar 2025 13:49:01 +0100
Subject: [PATCH] add error_email to whitelist

---
 controllers/main.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/controllers/main.py b/controllers/main.py
index 7c8ee7b..0cfbc94 100644
--- a/controllers/main.py
+++ b/controllers/main.py
@@ -5,6 +5,7 @@ from odoo.addons.auth_signup.controllers.main import AuthSignupHome
 
 # add firstname and lastname to qcontext whitelist
 SIGN_UP_REQUEST_PARAMS.update({"firstname", "lastname"})
+SIGN_UP_REQUEST_PARAMS.update({"error_email"})
 
 class SolagroAuthSignupHome(AuthSignupHome):
     @http.route('/web/signup', type='http', auth='public', website=True, sitemap=False)
-- 
GitLab