cmd/utils: make --authrpc.jwtsecret a DirectoryFlag (#25849)
Signed-off-by: Delweng <delweng@gmail.com>
This commit is contained in:
parent
400ab0d94f
commit
6215b92523
@ -631,7 +631,7 @@ var (
|
|||||||
Value: strings.Join(node.DefaultConfig.AuthVirtualHosts, ","),
|
Value: strings.Join(node.DefaultConfig.AuthVirtualHosts, ","),
|
||||||
Category: flags.APICategory,
|
Category: flags.APICategory,
|
||||||
}
|
}
|
||||||
JWTSecretFlag = &cli.StringFlag{
|
JWTSecretFlag = &flags.DirectoryFlag{
|
||||||
Name: "authrpc.jwtsecret",
|
Name: "authrpc.jwtsecret",
|
||||||
Usage: "Path to a JWT secret to use for authenticated RPC endpoints",
|
Usage: "Path to a JWT secret to use for authenticated RPC endpoints",
|
||||||
Category: flags.APICategory,
|
Category: flags.APICategory,
|
||||||
|
Loading…
Reference in New Issue
Block a user