diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-25 11:04:19 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-25 11:30:33 +0200 |
commit | 7df8dc8bcb0989a8543d699a7c667809170a69b3 (patch) | |
tree | 3ded7b5d19c0ebea74c943ce8e3bced195f072fb /web/html/index.php | |
parent | f4ee1278e5509c531675828dc8fce78ae1a608b9 (diff) | |
download | aur-7df8dc8bcb0989a8543d699a7c667809170a69b3.tar.gz aur-7df8dc8bcb0989a8543d699a7c667809170a69b3.tar.xz |
Add support for deleting user accounts
Users can now delete their own accounts by clicking a link in the
account edit form and confirming the deletion on a follow-up page.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/index.php')
-rw-r--r-- | web/html/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/html/index.php b/web/html/index.php index 554e86c6..e05b555b 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -123,6 +123,8 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { $_REQUEST['Action'] = "DisplayAccount"; } elseif ($tokens[3] == 'update') { $_REQUEST['Action'] = "UpdateAccount"; + } elseif ($tokens[3] == 'delete') { + $_REQUEST['Action'] = "DeleteAccount"; } else { header("HTTP/1.0 404 Not Found"); include "./404.php"; |