diff options
Diffstat (limited to 'templates/php')
| -rw-r--r-- | templates/php/account_password.php | 2 | ||||
| -rw-r--r-- | templates/php/login.php | 2 | ||||
| -rw-r--r-- | templates/php/register.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/php/account_password.php b/templates/php/account_password.php index 8a1871d..a68493f 100644 --- a/templates/php/account_password.php +++ b/templates/php/account_password.php @@ -18,7 +18,7 @@ <div class="container content-container"> <h2>Change Password</h2> <form id="change-password-form" action="<?php echo htmlspecialchars($paths['AccountPassword']); ?>" 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="current_password">Current Password</label> <input type="password" id="current_password" name="current_password" required> 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> diff --git a/templates/php/register.php b/templates/php/register.php index 31edf25..f05e89c 100644 --- a/templates/php/register.php +++ b/templates/php/register.php @@ -17,7 +17,7 @@ <div class="container form-container"> <h2>Create Account</h2> <form id="register-form" action="<?php echo htmlspecialchars($paths['Register']); ?>" 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> |
