Remove AppContext struct and update JWT secret validation error message

This commit is contained in:
2025-05-17 20:11:50 +03:30
parent 7b601e75ba
commit f9d896bf72
2 changed files with 1 additions and 19 deletions

View File

@@ -42,7 +42,7 @@ func Load() *config {
// Jwt params
secret := os.Getenv("CAOM_JWT_SECRET")
if secret == "" {
log.Fatal("No jwt secret provided, using default secret 'secret'")
log.Fatal("No jwt secret provided")
}
issuer := os.Getenv("CAOM_JWT_ISSUER")
if issuer == "" {