remove flash messages

This commit is contained in:
2025-05-27 14:53:45 +02:00
parent 160794404e
commit 95407cc3d7
2 changed files with 0 additions and 23 deletions

View File

@@ -65,19 +65,6 @@
<p class="mb-0">Sign in to your account</p>
</div>
<div class="card-body p-4">
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
{% if category in ['error', 'danger', 'login'] %}
<div class="alert alert-{{ 'danger' if category in ['error', 'danger'] else 'info' }}"
style="background-color: var(--danger-opacity-15); color: var(--danger-color); border: none;">
<i class="fas fa-exclamation-circle me-2"></i>{{ message }}
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endwith %}
<form method="POST" action="{{ url_for('auth.login') }}">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
<div class="mb-3">