Fix CSRF tokens for datasync restart forms
This commit is contained in:
parent
4ed522ae47
commit
ef649d8c96
|
@ -18,6 +18,7 @@
|
|||
|
||||
<%def name="grid_tools()">
|
||||
${h.form(url('datasync.restart'), name='restart-datasync')}
|
||||
${h.csrf_token(request)}
|
||||
<button type="submit">Restart DataSync</button>
|
||||
${h.end_form()}
|
||||
</%def>
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
<%def name="title()">DataSync</%def>
|
||||
|
||||
${h.form(url('datasync.restart'))}
|
||||
${h.csrf_token(request)}
|
||||
${h.submit('restart', "Restart DataSync Daemon", id='datasync-restart')}
|
||||
${h.end_form()}
|
||||
|
|
Loading…
Reference in a new issue