add user account deletion (right to be forgotten)

This commit is contained in:
2025-12-03 09:43:35 +03:00
parent 9951ed3fae
commit eb76338c4a
3 changed files with 102 additions and 1 deletions

View File

@@ -43,5 +43,8 @@
<input type="password" id="new_password2" name="new_password2" pattern="(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_])(?!.*\s).{10,}" title="10+ chars with: 1 uppercase, 1 lowercase, 1 number, 1 special char, and no spaces" required autocomplete="new-password"><br>
<input class="warn" type="submit" value="Change password">
</form>
<div>
<a class="linkbutton critical" href="{{ url_for('users.delete_page', username=active_user.username) }}">Delete account</a>
</div>
</div>
{% endblock %}