Skip to content

Commit 66694df

Browse files
author
Jerome POIRIER
committed
EXTENDCOMM-53 : Add CSRF token protection to comment modification
1 parent 5ed30b1 commit 66694df

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

webapp/WEB-INF/templates/admin/plugins/extend/modules/comment/modify_admin_comment.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<#include "/admin/util/editor/editor.html" />
22
<div>
33
<form class="form-horizontal" action="jsp/admin/plugins/extend/modules/comment/DoModifyAdminComment.jsp">
4+
5+
<input type="hidden" name="token" value="${token!'none'}">
6+
47
<fieldset>
58
<div class="control-group">
69
<label class="control-label" for="name">#i18n{module.extend.comment.modify_admin_comment.labelName}</label>

0 commit comments

Comments
 (0)