diff options
Diffstat (limited to 'templates/php/account_password.php')
| -rw-r--r-- | templates/php/account_password.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/php/account_password.php b/templates/php/account_password.php index b287c90..8a1871d 100644 --- a/templates/php/account_password.php +++ b/templates/php/account_password.php @@ -18,6 +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']); ?>"> <div class="form-group"> <label for="current_password">Current Password</label> <input type="password" id="current_password" name="current_password" required> |
