cmd/utils: make --authrpc.jwtsecret a DirectoryFlag (#25849)

Signed-off-by: Delweng <delweng@gmail.com>
This commit is contained in:
Delweng
2022-09-22 15:43:47 +02:00
committed by GitHub
parent 400ab0d94f
commit 6215b92523
+1 -1
View File
@@ -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,