summaryrefslogtreecommitdiffstats
path: root/web/html/account.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/account.php')
-rw-r--r--web/html/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/account.php b/web/html/account.php
index cb33c4eb..6ecd56e3 100644
--- a/web/html/account.php
+++ b/web/html/account.php
@@ -70,7 +70,7 @@ if (isset($_COOKIE["AURSID"])) {
/* Details for account being deleted. */
if (can_edit_account($row)) {
$UID = $row['ID'];
- if (in_request('confirm_Delete') && check_token()) {
+ if (in_request('confirm') && check_token()) {
user_delete($UID);
header('Location: /');
} else {