增加简单的安全设置

This commit is contained in:
GoEdgeLab
2020-11-20 18:06:54 +08:00
parent f8b6116c73
commit b764f470d9
9 changed files with 197 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ func init() {
Helper(helpers.NewUserMustAuth()).
Helper(settingutils.NewHelper("security")).
Prefix("/settings/security").
Get("", new(IndexAction)).
GetPost("", new(IndexAction)).
EndAll()
})
}