Vectrum
Sign In
2 lines · 237 Bytes · TypeScript
/** Set SIGNUPS_DISABLED=1 to close registration; existing users can still sign in. Add accounts with scripts/create-user.mjs. */
export const SIGNUPS_ENABLED = !["1", "true"].includes(process.env.SIGNUPS_DISABLED?.toLowerCase() ?? "");