Remove SMTP settings from .env.example

This commit is contained in:
Christoph Haas 2026-03-26 00:25:08 +01:00
parent 270cee44ff
commit 99d994544d
2 changed files with 3 additions and 10 deletions

View file

@ -112,6 +112,9 @@ func (c *Config) Validate() error {
if len(c.JWTSecret) < 32 {
return fmt.Errorf("JWT_SECRET must be at least 32 characters long")
}
if c.JWTSecret == "your-secret-key-at-least-32-chars" {
return fmt.Errorf("JWT_SECRET must not be the default value")
}
return nil
}