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

Method isLogin

controllers/api/BaseController.go:239–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237}
238
239func (this *BaseController) isLogin() (uid int) {
240 return models.NewAuth().GetByToken(this.Token).Uid
241}
242
243func (this *BaseController) completeLink(path string) string {
244 if path == "" {

Callers 15

PrepareMethod · 0.95
GetBookmarksMethod · 0.80
StarMethod · 0.80
SetBookmarksMethod · 0.80
DeleteBookmarksMethod · 0.80
ChangeAvatarMethod · 0.80
PostCommentMethod · 0.80
ChangePasswordMethod · 0.80
SignTodayMethod · 0.80
SignStatusMethod · 0.80
getFansOrFollowMethod · 0.80
UserInfoMethod · 0.80

Calls 2

NewAuthFunction · 0.92
GetByTokenMethod · 0.80

Tested by

no test coverage detected