Skip to content

fix: restrict subscription status check to active only - #107

Merged
Sourodip-1 merged 1 commit into
mainfrom
Local-Development
Sep 12, 2026
Merged

Sourodip-1 merged 1 commit into
mainfrom
Local-Development

Conversation

@Sourodip-1

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings September 12, 2026 06:16
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
postpipe-2-0 Building Building Preview Sep 12, 2026 6:16am UTC

@Sourodip-1
Sourodip-1 merged commit 243760c into main Sep 12, 2026
3 of 4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A critical authorization issue remains because subscription ownership is not verified against the authenticated user.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Restricts subscription activation to active subscriptions.

Changes:

  • Rejects pending subscriptions.
  • Normalizes whitespace in actions.ts.
File summaries
File Description
src/lib/auth/actions.ts Enforces active-only subscription activation.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/lib/auth/actions.ts

This branch was successfully deployed

1 active deployment
Preview — 0902a4b5 Deployed Sep 12, 2026 by vercel[bot]
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.

2 participants