mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
f4ee1278e5
commit
7df8dc8bcb
5 changed files with 45 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
<p>
|
||||
<?= __('Click %shere%s if you want to permanently delete this account.', '<a href="' . get_user_uri($U) . 'delete/' . '">', '</a>') ?>
|
||||
</p>
|
||||
|
||||
<?php if ($A == "UpdateAccount"): ?>
|
||||
<form id="edit-profile-form" action="<?= get_user_uri($U) . 'update/'; ?>" method="post">
|
||||
<?php else: ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue