Skip to content
Snippets Groups Projects
Commit 81966acf authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

review: pass kwargs to super()

parent 8e42794d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment