Skip to content
Snippets Groups Projects
Unverified Commit ec00c27c authored by Olivier Dony's avatar Olivier Dony
Browse files

[FIX] auth_signup: correct leftover from 6d16915d

The /web/signup controller was also supposed to get the special frame
header, like all sign-in/up pages.
parent 810b6aa7
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,9 @@ class AuthSignupHome(Home):
_logger.error(e.message)
qcontext['error'] = _("Could not create a new account.")
return request.render('auth_signup.signup', qcontext)
response = request.render('auth_signup.signup', qcontext)
response.headers['X-Frame-Options'] = 'DENY'
return response
@http.route('/web/reset_password', type='http', auth='public', website=True)
def web_auth_reset_password(self, *args, **kw):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment