diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-11-07 11:45:42 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-11-07 11:45:42 +0100 |
| commit | 45958ab3129b25debf821179f36cda4d4c81e6f7 (patch) | |
| tree | 7b76e0efaa7a130defdd6c0e7b7fa6e51928eb51 /addons/auth_signup/controllers | |
| parent | 8e298f69cdac2a32821b83efbca70f7c4099e3f0 (diff) | |
| parent | 5f9c3f51a8be5e9c399228d5589d86d7bec94bc8 (diff) | |
[MERGE] forward port branch saas-16 up to 5f9c3f51a8b
Diffstat (limited to 'addons/auth_signup/controllers')
| -rw-r--r-- | addons/auth_signup/controllers/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/auth_signup/controllers/main.py b/addons/auth_signup/controllers/main.py index 17501e53d05..9fc6ee22a40 100644 --- a/addons/auth_signup/controllers/main.py +++ b/addons/auth_signup/controllers/main.py @@ -54,7 +54,9 @@ class AuthSignupHome(Home): _logger.error("%s", e) 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, sitemap=False) def web_auth_reset_password(self, *args, **kw): |
