summaryrefslogtreecommitdiff
path: root/app/views/stats/idle.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/stats/idle.phtml')
-rw-r--r--app/views/stats/idle.phtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtml
index ba88b679f..88c78d465 100644
--- a/app/views/stats/idle.phtml
+++ b/app/views/stats/idle.phtml
@@ -18,8 +18,8 @@
<div class="stat">
<h2><?php echo _t('gen.date.' . $period); ?></h2>
- <form id="form-delete" method="post" aria-hidden="true"></form>
-
+ <form id="form-delete" method="post">
+ <input type="hidden" name="_csrf" value="<?php echo FreshRSS_Auth::csrfToken(); ?>" />
<?php foreach ($feeds as $feed) { ?>
<ul class="horizontal-list">
<li class="item">
@@ -34,6 +34,7 @@
</li>
</ul>
<?php } ?>
+ </form>
</div>
<?php
}