PYTHON auth.py
"""Command Center - Authentication Routes
NOTE: Login/Register pages are now served by the React SPA.
This blueprint only handles /auth/logout.
"""
from flask import Blueprint, redirect
from flask_login import logout_user
auth_bp = Blueprint('auth', __name__, url_prefix='/auth')
@auth_bp.route('/logout')
def logout():
"""Logout user and redirect to landing page."""
logout_user()
return redirect('/')