Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(server): add startup warnings for missing JWT_SECRET and RESEND_API_KEY
Jiayuan Zhangc7e5aedb1422
diff --git a/server/cmd/server/main.go b/server/cmd/server/main.goindex 13fd3092db..6f4ddc64f8 100644--- a/server/cmd/server/main.go+++ b/server/cmd/server/main.go@@ -20,6 +20,14 @@ import (func main() {logger.Init()+ // Warn about missing configuration+ if os.Getenv("JWT_SECRET") == "" {+ slog.Warn("JWT_SECRET is not set — using insecure default. Set JWT_SECRET for production use.")+ }+ if os.Getenv("RESEND_API_KEY") == "" {+ slog.Warn("RESEND_API_KEY is not set — email verification codes will be printed to the log instead of emailed.")+ }+port := os.Getenv("PORT")if port == "" {port = "8080"