Move logout route to auth blueprint

The logout route was relocated from the main app to the auth blueprint for better organization. The logout link in the base template was updated to reference the new route location.
This commit is contained in:
2025-08-11 18:05:30 +02:00
parent 97ff4acf02
commit c7395b07d9
3 changed files with 11 additions and 9 deletions

View File

@@ -32,7 +32,7 @@
<ul class="navbar-nav">
{% if current_user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="{{ url_for('logout') }}">Logout</a>
<a class="nav-link" href="{{ url_for('auth.logout') }}">Logout</a>
</li>
{% else %}
<li class="nav-item">