NAT64 的机器一直报 IP 变更,加忽略!

This commit is contained in:
naiba
2021-04-07 21:11:59 +08:00
parent 40b9ffd042
commit 330015290f
7 changed files with 46 additions and 20 deletions

View File

@@ -447,6 +447,7 @@ type settingForm struct {
CustomCode string
ViewPassword string
EnableIPChangeNotification string
IgnoredIPNotification string
Oauth2Type string
}
@@ -460,6 +461,7 @@ func (ma *memberAPI) updateSetting(c *gin.Context) {
return
}
dao.Conf.EnableIPChangeNotification = sf.EnableIPChangeNotification == "on"
dao.Conf.IgnoredIPNotification = sf.IgnoredIPNotification
dao.Conf.Site.Brand = sf.Title
dao.Conf.Site.Theme = sf.Theme
dao.Conf.Site.CustomCode = sf.CustomCode