pangolin/server/setup
Adrian Astles 69baa6785f feat: Add setup token security for initial server setup
- Add setupTokens database table with proper schema
- Implement setup token generation on first server startup
- Add token validation endpoint and modify admin creation
- Update initial setup page to require setup token
- Add migration scripts for both SQLite and PostgreSQL
- Add internationalization support for setup token fields
- Implement proper error handling and logging
- Add CLI command for resetting user security keys

This prevents unauthorized access during initial server setup by requiring
a token that is generated and displayed in the server console.
2025-08-03 21:17:18 +08:00
..
scriptsPg feat: Add setup token security for initial server setup 2025-08-03 21:17:18 +08:00
scriptsSqlite feat: Add setup token security for initial server setup 2025-08-03 21:17:18 +08:00
clearStaleData.ts support postgresql as database option 2025-06-04 12:02:07 -04:00
copyInConfig.ts add branding logo component 2025-07-15 16:24:16 -07:00
ensureActions.ts support postgresql as database option 2025-06-04 12:02:07 -04:00
ensureSetupToken.ts feat: Add setup token security for initial server setup 2025-08-03 21:17:18 +08:00
index.ts feat: Add setup token security for initial server setup 2025-08-03 21:17:18 +08:00
migrationsPg.ts feat: Add setup token security for initial server setup 2025-08-03 21:17:18 +08:00
migrationsSqlite.ts feat: Add setup token security for initial server setup 2025-08-03 21:17:18 +08:00
setHostMeta.ts support postgresql as database option 2025-06-04 12:02:07 -04:00