Remove SMTP settings from .env.example
This commit is contained in:
parent
270cee44ff
commit
99d994544d
2 changed files with 3 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue