auto mail generation
This commit is contained in:
@@ -74,6 +74,9 @@ type Config struct {
|
||||
// Assistant is the model behind Nearle Buddy. Empty provider = no typed
|
||||
// questions; the tools still work.
|
||||
Assistant AssistantConfig
|
||||
// Mail. Optional: a deployment without it still onboards tenants and reports
|
||||
// the invitation as unsent.
|
||||
Mail MailConfig
|
||||
|
||||
// POSTokenSecret signs terminal sessions. Falls back to JWTSecret when
|
||||
// unset, matching utils/postoken.go.
|
||||
@@ -357,6 +360,7 @@ func Load() (*Config, error) {
|
||||
},
|
||||
|
||||
Assistant: AssistantFromEnv(),
|
||||
Mail: MailFromEnv(),
|
||||
|
||||
POSTokenSecret: env("POS_TOKEN_SECRET", ""),
|
||||
JWTSecret: env("JWT_SECRET_KEY", ""),
|
||||
|
||||
Reference in New Issue
Block a user