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

add error_email to whitelist

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