From 3ff1b5b00178d1f029c8ada0c48fea4be0db7fd1 Mon Sep 17 00:00:00 2001 From: Anil Kumar Vishnoi Date: Fri, 15 Dec 2023 00:49:32 -0500 Subject: [PATCH] fix for smtp-from flag Signed-off-by: Anil Kumar Vishnoi --- cmd/apiserver/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/apiserver/main.go b/cmd/apiserver/main.go index 8065dd67f..6ea5405ec 100644 --- a/cmd/apiserver/main.go +++ b/cmd/apiserver/main.go @@ -272,9 +272,9 @@ func main() { Required: false, Sources: cli.EnvVars("NEXAPI_SMTP_TLS"), }, - &cli.BoolFlag{ + &cli.StringFlag{ Name: "smtp-from", - Usage: "The form address to use for emails", + Usage: "The from address to use for emails", Required: false, Sources: cli.EnvVars("NEXAPI_SMTP_FROM"), },