MCPcopy Create free account
hub / github.com/TruthHun/BookStack / init

Function init

controllers/AcountController.go:30–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28var cpt *captcha.Captcha
29
30func init() {
31 // use beego cache system store the captcha data
32 fc := &cache.FileCache{CachePath: "./cache/captcha"}
33 cpt = captcha.NewWithFilter("/captcha/", fc)
34}
35
36//第三方登录回调
37//封装一个内部调用的函数,loginByMemberId

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected