From 81966acf81a022825e3137fdf1f7bafcd2d805bc Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@le-filament.com>
Date: Thu, 27 Feb 2025 10:02:13 +0100
Subject: [PATCH] review: pass kwargs to super()

---
 controllers/main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/controllers/main.py b/controllers/main.py
index 9a8c5ab..731f6a0 100644
--- a/controllers/main.py
+++ b/controllers/main.py
@@ -17,6 +17,6 @@ class SolagroAuthSignupHome(AuthSignupHome):
             firstname = post.get('firstname')
             lastname = post.get('lastname')
             post["name"] = firstname + " " + lastname
-        # update request params
+        # update request params because super() uses this instead of kwargs
         http.request.params.update(post)
-        return super().web_auth_signup()
+        return super().web_auth_signup(**post)
-- 
GitLab