Fix CSRF token bug for bulk-move message forms
This commit is contained in:
parent
e0865bef12
commit
de38c3a20a
|
@ -18,6 +18,7 @@
|
|||
|
||||
<%def name="grid_tools()">
|
||||
${h.form(url('messages.move_bulk'), name='move-selected')}
|
||||
${h.csrf_token(request)}
|
||||
${h.hidden('destination', value='inbox')}
|
||||
${h.hidden('uuids')}
|
||||
<button type="submit">Move 0 selected to Inbox</button>
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
<%def name="grid_tools()">
|
||||
${h.form(url('messages.move_bulk'), name='move-selected')}
|
||||
${h.csrf_token(request)}
|
||||
${h.hidden('destination', value='archive')}
|
||||
${h.hidden('uuids')}
|
||||
<button type="submit">Move 0 selected to Archive</button>
|
||||
|
|
Loading…
Reference in a new issue