We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f3de9f commit cdd346aCopy full SHA for cdd346a
1 file changed
cmd/server/main.go
@@ -31,6 +31,13 @@ func main() {
31
services.PteroURL = cfg.PteroURL
32
services.PteroAPIKey = cfg.PteroAPIKey
33
services.PanelDBName = cfg.PanelDBName
34
+ services.ResendAPIKey = cfg.ResendAPIKey
35
+ services.ResendFrom = cfg.ResendFrom
36
+ services.BaseURL = cfg.BaseURL
37
+
38
+ if cfg.ResendAPIKey == "" {
39
+ log.Println("WARNING: RESEND_API_KEY not set — verification emails will not be sent")
40
+ }
41
42
if err := services.InitSecurity(cfg.IPQSKey, cfg.AbuseIPDBKey); err != nil {
43
log.Printf("Warning: security service init failed: %v", err)
0 commit comments