修复「--reset-totp xxx」无法使用的问题

This commit is contained in:
dushixiang
2022-01-24 22:24:57 +08:00
parent 809118f3e9
commit edcec79fd0
2 changed files with 4 additions and 3 deletions

View File

@ -90,6 +90,7 @@ func SetupConfig() (*Config, error) {
pflag.String("server.addr", "", "server listen addr")
pflag.String("server.cert", "", "tls cert file")
pflag.String("server.key", "", "tls key file")
pflag.String("reset-totp", "", "")
pflag.String("reset-password", "", "")
pflag.String("encryption-key", "", "")
pflag.String("new-encryption-key", "", "")