Guard the /suggestions HTML page with the same auth as its API #9

Open
opened 2026-06-06 19:58:11 +00:00 by tonym · 0 comments

Severity: low
Category: security
Location: suggestions/routes_flask.py:70-72

Problem

_guard() protects the suggestion API routes but not suggestions_page(). Harmless while current_user() is a stub, but inconsistent once real auth lands.

Suggested fix

Apply the guard/redirect to suggestions_page() too.

Filed by automated code review.

**Severity:** low **Category:** security **Location:** `suggestions/routes_flask.py:70-72` ### Problem `_guard()` protects the suggestion API routes but not `suggestions_page()`. Harmless while current_user() is a stub, but inconsistent once real auth lands. ### Suggested fix Apply the guard/redirect to suggestions_page() too. _Filed by automated code review._
tonym added the
security
severity:low
labels 2026-06-06 19:58:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bonna61/Moon-Household-Budget#9
No description provided.