Frontend: Add support for deleting current account

This commit is contained in:
2023-09-23 14:59:49 +02:00
parent e6085c6e0b
commit cf3fe30e4e
5 changed files with 73 additions and 4 deletions

View File

@@ -12,6 +12,11 @@
<input name="newPassword" type="password" placeholder="New password"><br />
<input type="submit" value="Change" />
</form>
<h3>Delete this account</h3>
<form action="delete_account_action" method="POST">
<input name="password" type="password" placeholder="Password" /><br />
<input type="submit" value="Delete (this operation cannot be reverted!)" />
</form>
{{manageChannelAccess}}
{{addUser}}
{{updateUser}}