前台查看密码 close #24 close #41

This commit is contained in:
naiba
2021-01-31 13:37:43 +08:00
parent 061a9992ff
commit c3dcc721dc
13 changed files with 159 additions and 15 deletions

View File

@@ -13,10 +13,11 @@ import (
type Config struct {
Debug bool
Site struct {
Brand string // 站点名称
CookieName string // 浏览器 Cookie 名称
Theme string
CustomCode string
Brand string // 站点名称
CookieName string // 浏览器 Cookie 名称
Theme string
CustomCode string
ViewPassword string // 前台查看密码
}
GitHub struct {
Admin string // 管理员ID列表
@@ -24,6 +25,7 @@ type Config struct {
ClientSecret string
}
HTTPPort uint
GRPCPort uint
EnableIPChangeNotification bool
v *viper.Viper