diff options
| author | Olivier Dony <odo@openerp.com> | 2017-06-01 00:37:30 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-06-01 00:37:30 +0200 |
| commit | 5dd2cc8e6320c631a511c6dac98ae40e54d4a94d (patch) | |
| tree | ad5f44653ac11d4a8bdec256de4d20adda94091d /addons/website_mail/controllers/main.py | |
| parent | 20c724479f2092f2d5f0b3c96f15bd6162e07968 (diff) | |
| parent | b9e220726730e2e0c25dae9952fa90e783fadc16 (diff) | |
[MERGE] Forward-port saas-14 up to b9e220726730e2e0c25dae9952fa90e783fadc16
Diffstat (limited to 'addons/website_mail/controllers/main.py')
| -rw-r--r-- | addons/website_mail/controllers/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_mail/controllers/main.py b/addons/website_mail/controllers/main.py index c6fc592e3d8..546def6890a 100644 --- a/addons/website_mail/controllers/main.py +++ b/addons/website_mail/controllers/main.py @@ -34,6 +34,7 @@ def _message_post_helper(res_model='', res_id=None, message='', token='', token_ else: if not author_id: raise NotFound() + kw.pop('csrf_token', None) return record.with_context(mail_create_nosubscribe=nosubscribe).message_post(body=message, message_type=kw.pop('message_type', "comment"), subtype=kw.pop('subtype', "mt_comment"), |
