Commit graph

5 commits

Author SHA1 Message Date
miloschwartz
49f84bccad
migrations 2025-08-18 15:43:48 -07:00
miloschwartz
378de19f41
add pg 1.9.0 migration 2025-08-18 15:29:04 -07:00
miloschwartz
ac8b546393
add sqlite 1.9.0 migration 2025-08-18 14:29:06 -07:00
miloschwartz
5c04b1e14a
add site targets, client resources, and auto login 2025-08-14 18:24:21 -07:00
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