zerobyte/app/server/modules
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
..
agents feat: enforce protocol version between agent and controller (#938) 2026-06-03 18:29:36 +02:00
auth fix: block login for 2fa users with un-verified passkeys (#934) 2026-06-02 19:48:40 +02:00
backups feat: add restore agent RPC foundation (#929) 2026-05-31 19:39:20 +02:00
events fix(notifications): persist delivery health status (#850) 2026-05-02 11:51:16 +02:00
lifecycle feat: durable tasks (#927) 2026-05-30 16:54:49 +02:00
notifications fix: avoid unnecessary webhook allowlist checks on notification edits 2026-05-05 10:24:20 +02:00
provisioning refactor(restic): all commands return effects (#924) 2026-05-30 10:10:54 +02:00
repositories fix: limit concurrent ls to 2 in flight calls (#948) 2026-06-05 18:07:59 +02:00
sso refactor: extract shared test fixtures and secret helpers 2026-04-22 22:33:18 +02:00
system feat: add option to disable password login 2026-06-05 22:49:07 +03:30
tasks feat: snapshot restores through rpc (#930) 2026-05-31 21:48:32 +02:00
volumes Revert "fix(volumes): decrypt values before testing connection (#939)" 2026-06-03 19:56:55 +02:00