summaryrefslogtreecommitdiffstats
path: root/web/html/tu.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/tu.php')
-rw-r--r--web/html/tu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/tu.php b/web/html/tu.php
index 48cd6c1..8619903 100644
--- a/web/html/tu.php
+++ b/web/html/tu.php
@@ -49,7 +49,7 @@ if ($atype == "Trusted User" || $atype == "Developer") {
}
if ($canvote == 1) {
- if (isset($_POST['doVote'])) {
+ if (isset($_POST['doVote']) && check_token()) {
if (isset($_POST['voteYes'])) {
$myvote = "Yes";
} else if (isset($_POST['voteNo'])) {