Skip to content

api: add flag to disable new user signups - #2354

Merged
gioelecerati merged 1 commit into
masterfrom
api/disable-signup
Nov 3, 2026
Merged

gioelecerati merged 1 commit into
masterfrom
api/disable-signup

Conversation

@gioelecerati

Copy link
Copy Markdown
Member

Studio shuts down Nov 15 and keeps getting abused by someone re-registering new accounts. This adds a kill switch for registrations.

  • New flag --disable-signup / LP_API_DISABLE_SIGNUP (default false)
  • When true, POST /user returns 403 {"errors":["new registrations are disabled"]} before doing anything else (it's the only place users get created)
  • One test covering the 403

Default is off so the existing tests, which sign up through the same endpoint, keep passing.

To deploy: roll the API to the new image and set LP_API_DISABLE_SIGNUP=true on the deployment (infra repo, or kubectl set env).

🤖 Generated with Claude Code

Studio is being shut down on Nov 15 and repeated account
re-registrations are being used to abuse the service. Setting
LP_API_DISABLE_SIGNUP=true makes POST /user return 403.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
livepeer-studio Error Error Nov 3, 2026 7:29pm UTC

Request Review

@vercel

vercel Bot commented Nov 3, 2026

Copy link
Copy Markdown

Deployment failed for project livepeer-studio with the following error:

The `vercel.json` schema validation failed with the following message: should NOT have additional property `public`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

@gioelecerati
gioelecerati merged commit 6603f1d into master Nov 3, 2026
6 of 7 checks passed
@gioelecerati
gioelecerati deleted the api/disable-signup branch November 3, 2026 19:33

This branch had an error being deployed

1 failed deployment
Preview — e4326272 Deployed Nov 3, 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