summaryrefslogtreecommitdiff
path: root/templates/php/login.php
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2025-10-13 07:01:46 +0900
committerhaturatu <taro@eyes4you.org>2025-10-13 07:01:46 +0900
commitaf646a893e3b66b2b868d2d0f4216362477a4fba (patch)
tree4be49ae0140cb5b9849831333cbdccb0fdd279cc /templates/php/login.php
parent18991704b375db4e8d22785bb47f3e2e12cd016f (diff)
support: xsrf
Diffstat (limited to 'templates/php/login.php')
-rw-r--r--templates/php/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/php/login.php b/templates/php/login.php
index c4644ef..67b075e 100644
--- a/templates/php/login.php
+++ b/templates/php/login.php
@@ -17,7 +17,7 @@
<div class="container form-container">
<h2>Login Required</h2>
<form id="login-form" action="<?php echo htmlspecialchars($paths['Login']); ?>" method="post">
- <input type="hidden" name="gorilla.csrf.Token" value="<?php echo htmlspecialchars($_SERVER['HTTP_X_CSRF_TOKEN']); ?>">
+ <input type="hidden" name="xsrf_token" value="<?php echo htmlspecialchars($_SERVER['HTTP_X_XSRF_TOKEN']); ?>">
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" required>