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

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

No files matched your search

+1
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", "", "")