MCPcopy Index your code
hub / github.com/TruthHun/BookStack / Logout

Method Logout

controllers/AcountController.go:585–591  ·  view source on GitHub ↗

Logout 退出登录.

()

Source from the content-addressed store, hash-verified

583
584// Logout 退出登录.
585func (this *AccountController) Logout() {
586 this.SetMember(models.Member{})
587
588 this.SetSecureCookie(conf.GetAppKey(), "login", "", -3600)
589
590 this.Redirect(beego.URLFor("AccountController.Login"), 302)
591}
592
593//记录笔记
594func (this *AccountController) Note() {

Callers

nothing calls this directly

Calls 2

GetAppKeyFunction · 0.92
SetMemberMethod · 0.80

Tested by

no test coverage detected