Added authenticated login/logout navigation and updated the comment form to reflect signed-in state.
pushed
zhengqunkoo/pythonanywhere.com • 7:56 AM - Nov 27, 2025
This change wires in a dedicated /logout/ route with flask_login and exposes login/logout actions directly in the navbar, so the app now has a clearer session flow. The main page template also checks current_user.is_authenticated to render different comment form copy for logged-in users versus guests, making the UI better match the app’s access model. In practice, users now get clearer cues about whether they’re signed in and how they can interact with comments.
