From 6215b925237c3727286c3e1b560bc370a97963c4 Mon Sep 17 00:00:00 2001 From: Delweng Date: Thu, 22 Sep 2022 21:43:47 +0800 Subject: [PATCH] cmd/utils: make --authrpc.jwtsecret a DirectoryFlag (#25849) Signed-off-by: Delweng --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index fb2aa7c215..4017f21089 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,