diff --git a/app/routes/auth.py b/app/routes/auth.py index ec34a7e..59f1b37 100644 --- a/app/routes/auth.py +++ b/app/routes/auth.py @@ -47,4 +47,4 @@ def logout(): logout_user() current_app.logger.info(f'User logged out: {username}') flash('You have been logged out', 'info') - return redirect(url_for('index')) + return redirect(url_for('landing.index')) diff --git a/app/templates/auth/login.html b/app/templates/auth/login.html index f7ad333..be9ca7f 100644 --- a/app/templates/auth/login.html +++ b/app/templates/auth/login.html @@ -22,6 +22,6 @@
- Return to home page + Return to home page
{% endblock %} diff --git a/app/templates/base.html b/app/templates/base.html index ede1194..22a503e 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -192,8 +192,6 @@ Home {% if current_user.role == 'product_owner' %} Dashboard - {% elif current_user.role == 'administrator' %} - (Admin Panel - Coming in Phase 6) {% endif %} Logout ({{ current_user.username }})