diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index fb2aa7c21..4017f2108 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -631,7 +631,7 @@ var ( Value: strings.Join(node.DefaultConfig.AuthVirtualHosts, ","), Category: flags.APICategory, } - JWTSecretFlag = &cli.StringFlag{ + JWTSecretFlag = &flags.DirectoryFlag{ Name: "authrpc.jwtsecret", Usage: "Path to a JWT secret to use for authenticated RPC endpoints", Category: flags.APICategory,