stages/user_delete: add user delete stage, remove view from core

This commit is contained in:
Jens Langhammer
2020-05-12 14:50:00 +02:00
parent 137e90355b
commit e45b33c6c2
17 changed files with 226 additions and 24 deletions

View File

@ -15,7 +15,7 @@
<div class="pf-c-form__horizontal-group">
<div class="pf-c-form__actions">
<input class="pf-c-button pf-m-primary" type="submit" value="{% trans 'Update' %}" />
<a class="pf-c-button pf-m-danger" href="{% url 'passbook_core:user-delete' %}?back={{ request.get_full_path }}">{% trans "Delete account" %}</a>
<a class="pf-c-button pf-m-danger" href="{% url 'passbook_flows:default-unenrollment' %}?back={{ request.get_full_path }}">{% trans "Delete account" %}</a>
</div>
</div>
</div>