CSRF more mod pages
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
|
||||
{% if not readonly %}<form method="post" action="">{% endif %}
|
||||
<input type="hidden" name="token" value="{{ token }}">
|
||||
<textarea name="code" id="code" style="margin:auto;width:100%;height:500px{% if readonly %};background:#eee" readonly{% else %}"{% endif %}>
|
||||
{{ php }}
|
||||
</textarea>
|
||||
|
||||
Reference in New Issue
Block a user