06/15 Fix issues

This commit is contained in:
2026-06-15 16:32:13 -04:00
parent ca4b598647
commit b1e60535a4
8 changed files with 44 additions and 17 deletions
+4 -1
View File
@@ -22,7 +22,10 @@
{% if unread_count %}<span class="badge-count">{{ unread_count }}</span>{% endif %}
</a>
<span class="hi">{{ current_user.display_name }}</span>
<a href="{{ url_for('auth.logout') }}">{{ _('Sign out') }}</a>
<form method="post" action="{{ url_for('auth.logout') }}" class="logout-form">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="link-btn">{{ _('Sign out') }}</button>
</form>
{% else %}
<a href="{{ url_for('auth.login') }}">{{ _('Sign in') }}</a>
<a class="btn" href="{{ url_for('auth.register') }}">{{ _('Register') }}</a>