From edcec79fd005979b2a6e5c7d5e6e5259e3e2e8fc Mon Sep 17 00:00:00 2001 From: dushixiang Date: Mon, 24 Jan 2022 22:24:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=8C--reset-totp=20xxx?= =?UTF-8?q?=E3=80=8D=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- server/config/config.go | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4b0a276..eddbbe4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Next Terminal -**说明:最新版前后端代码已经全部开源,1.2.x 及之后版本已去除授权限制。** - [![Docker guacd build](https://github.com/dushixiang/next-terminal/actions/workflows/docker-guacd.yml/badge.svg)](https://github.com/dushixiang/next-terminal/actions/workflows/docker-guacd.yml) [![Docker next-terminal build](https://github.com/dushixiang/next-terminal/actions/workflows/docker-next-terminal.yml/badge.svg)](https://github.com/dushixiang/next-terminal/actions/workflows/docker-next-terminal.yml) @@ -44,7 +42,9 @@ test/test ## 问题反馈 -请提 Issues 。 +- Issues +- QQ群 938145268 +- Telegram https://t.me/next_terminal ## 安全问题 diff --git a/server/config/config.go b/server/config/config.go index 1d04833..ee21062 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -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", "", "")