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

Method Logout

controllers/api/LoginedController.go:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (this *LoginedController) Logout() {
32 models.NewAuth().DeleteByToken(this.Token)
33 this.Response(http.StatusOK, messageLogoutSuccess)
34}
35
36func (this *LoginedController) GetBookmarks() {
37 bookId := this.getBookIdByIdentify(this.GetString("identify"))

Callers

nothing calls this directly

Calls 3

NewAuthFunction · 0.92
DeleteByTokenMethod · 0.80
ResponseMethod · 0.80

Tested by

no test coverage detected