You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add NEXT_PUBLIC_SIGNUP_DISABLED flag to disable user registration
When NEXT_PUBLIC_SIGNUP_DISABLED=true, the following changes take effect:
- /api/auth/signup returns 403 SIGNUP_DISABLED error
- Signup page redirects to home
- All signup links hidden across the app (landing page, header, sidebar, mobile sidebar, sign-in page, discover template detail, privacy/terms pages)
- Existing users can still sign in
Set via docker-compose environment or .env.local to enable.
0 commit comments