Skip to content

fix: classify reset-password as an auth route - #63

Merged
hacksynth merged 1 commit into
mainfrom
claude/issue-56-20260502-1624
May 2, 2026
Merged

hacksynth merged 1 commit into
mainfrom
claude/issue-56-20260502-1624

Conversation

@hacksynth

Copy link
Copy Markdown
Owner

Add /reset-password to middleware auth routes so the matcher entry is no longer a no-op, and cover logged-in/logged-out behavior with middleware tests.

Closes #56

…matcher

Authenticated users visiting any /reset-password path are now redirected
to /dashboard, consistent with /login and /register behavior. Adds
middleware.test.ts covering protected-route and auth-route cases including
/reset-password.

Closes #56

Co-authored-by: hacksynth <hacksynth@users.noreply.github.com>
@hacksynth
hacksynth merged commit e46601d into main May 2, 2026
12 checks passed
@hacksynth
hacksynth deleted the claude/issue-56-20260502-1624 branch May 3, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

middleware matcher includes unhandled reset-password route

1 participant