zerobyte/app/server
Parman Mohammadalizadeh 2b70267e01 feat: add option to disable password login
Adds a global admin setting to hide the username/password form on the
login page, useful for deployments that rely solely on SSO/OIDC or
passkeys. The form defaults to enabled so existing deployments are
unaffected.

Changes:
- Add PASSWORD_LOGIN_ENABLED_KEY constant
- Add isPasswordLoginEnabled / setPasswordLoginEnabled to system service
  (defaults to true when no DB record exists)
- Add GET/PUT /api/v1/system/password-login-status endpoints (GET
  auth-gated for admin use; setting is exposed to the login page via
  the existing getLoginOptions server function)
- Extend getLoginOptions to include passwordLoginEnabled
- Conditionally render the password login form in LoginPage
- Add "Enable password login" toggle in the admin System Settings tab,
  next to "Enable new user registrations"
- Add corresponding entries to generated API client files
  (types.gen.ts, sdk.gen.ts, @tanstack/react-query.gen.ts)

Closes #941
2026-06-05 22:49:07 +03:30
..
__tests__ test: move test runner from Bun to Vitest (#727) 2026-04-01 20:05:54 +02:00
cli test: move test runner from Bun to Vitest (#727) 2026-04-01 20:05:54 +02:00
core feat: add option to disable password login 2026-06-05 22:49:07 +03:30
db feat: durable tasks (#927) 2026-05-30 16:54:49 +02:00
jobs refactor(agent): harden local agent volume lifecycle (#863) 2026-05-09 12:13:04 +02:00
lib feat: add option to disable password login 2026-06-05 22:49:07 +03:30
modules feat: add option to disable password login 2026-06-05 22:49:07 +03:30
plugins feat(runtime): start and ship the local agent (#767) 2026-04-10 00:00:30 +02:00
utils refactor(restic): auto try to unlock and remove stale locks (#926) 2026-05-30 13:21:22 +02:00
app.ts chore: move access logs to debug (#891) 2026-05-17 14:26:40 +02:00