diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-09 09:05:05 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-09 09:05:05 +0200 |
commit | 5c64ae1a0ea55c9d38d11659cf5a48761e44571f (patch) | |
tree | 8194e11c70e3fb8e6daad4d18b123bdf97e36e84 /web/html/account.php | |
parent | 9b19f7595e45431a7984b50369eccd1a54ae4636 (diff) | |
download | aur-5c64ae1a0ea55c9d38d11659cf5a48761e44571f.tar.gz aur-5c64ae1a0ea55c9d38d11659cf5a48761e44571f.tar.xz |
Drop suffixes from confirm parameters
Remove the _delete and _disown suffixes from HTTP POST confirmation
parameters.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/account.php')
-rw-r--r-- | web/html/account.php | 2 |
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 { |