Implement account deletion

This commit is contained in:
Lexi / Zoe 2021-09-16 20:54:21 +02:00
parent 2ccee2169b
commit 930726432e
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
11 changed files with 130 additions and 28 deletions

View file

@ -15,21 +15,16 @@
<h3>Delete account</h3>
<p>You are about to delete the mail account "{{ accountUsername }}" including the following aliases:</p>
<p>You are about to delete the mail account "{{ accountUsername }}" <b>including</b> the following aliases:</p>
<ul>
{% for alias in aliases %}
<li>{{ alias.getMailAddress() }}</li>
{% endfor %}
</ul>
<p><b>Note:</b> This will only delete the user entry from the database. Mail data will not be deleted!</p>
<p><b>Note:</b> This will only delete the account entry from the database. Mail data will not be deleted!</p>
{% if error is defined %}
<div class="error_box">
<h4>Error:</h4>
{{ error }}
</div>
{% endif %}
{{ include('includes/form_result_box.html.twig') }}
<div class="confirmation_box">
<p><b>Please confirm that you want to delete this account by entering your password.</b></p>

View file

@ -13,6 +13,8 @@
<h3>List of accounts</h3>
{{ include('includes/form_result_box.html.twig') }}
<div class="filter_options">
<form action="/accounts" method="GET">
<h4>Filter:</h4>