Skip to content

feat: add temporary site password gate (production only) - #6

Merged
montycheese merged 1 commit into
mainfrom
temp-password-gate
Jul 17, 2026
Merged

feat: add temporary site password gate (production only)#6
montycheese merged 1 commit into
mainfrom
temp-password-gate

Conversation

@montycheese

Copy link
Copy Markdown
Contributor

Gate all UI routes behind a password screen when SITE_PASSWORD is set (set it in Production only). The password lives in the env var, never in source. /api/* is intentionally excluded so the public snapshots API stays reachable.

Temporary; remove middleware.ts and app/api/gate/route.ts to lift it.

Gate all UI routes behind a password screen when SITE_PASSWORD is set
(set it in Vercel Production only). The password lives in the env var,
never in source. /api/* is intentionally excluded so the public
snapshots API stays reachable. Temporary; remove middleware.ts and
app/api/gate/route.ts to lift it.
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
omni-ui Ready Ready Preview, Comment Jul 17, 2026 4:55pm

Request Review

@montycheese
montycheese merged commit d179fcf into main Jul 17, 2026
5 of 6 checks passed
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