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

Signed-off-by: Delweng <delweng@gmail.com>
pull/25853/head
Delweng 2 years ago committed by GitHub
parent 400ab0d94f
commit 6215b92523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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,

Loading…
Cancel
Save