diff --git a/cfg/cfg.go b/cfg/cfg.go index 1a31546..0145e47 100644 --- a/cfg/cfg.go +++ b/cfg/cfg.go @@ -18,7 +18,7 @@ type Options struct { } var Config = &Options{ - TokenExpire: time.Second * 10, + TokenExpire: time.Second * 100, ID: "test", Key: "asdfghjklqwertyuiopzxcvbnm1234567890", DSN: "root:123456@tcp(127.0.0.1:3306)/test?charset=utf8&parseTime=True&loc=Local", diff --git a/ui/page/login.html b/ui/page/login.html index cf35da1..c44671d 100644 --- a/ui/page/login.html +++ b/ui/page/login.html @@ -284,10 +284,8 @@ 或使用您的用户名进行注册 - - + +
{{ signUpError }}
@@ -301,10 +299,8 @@ 或使用您的账户 - - + + 忘记密码?