Deleting accounts

Resetting password
Profile settings
Fixing random shit
This commit is contained in:
Michał Gdula 2023-06-22 17:31:36 +00:00
parent 300c80fcd5
commit e08b31a430
13 changed files with 317 additions and 89 deletions

View file

@ -5,9 +5,9 @@
<span class="spacer"></span>
{% if current_user.is_authenticated %}
<a href="{{ url_for('views.settings') }}" class="button primary">
<a href="{{ url_for('account.settings') }}" class="button primary">
{{ current_user.username }}
{% if not current_user.email %}<i class="ph ph-warning"></i>{% endif %}
{% if not current_user.email %}<i class="ph ph-warning" style="margin-left: 0.2rem !important;"></i>{% endif %}
</a>
{% else %}
<a href="{{ url_for('auth.auth') }}" class="button primary"><i class="ph ph-user-circle"></i></a>