Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
239
func
(this *BaseController) isLogin() (uid int) {
240
return
models.NewAuth().GetByToken(this.Token).Uid
241
}
242
243
func
(this *BaseController) completeLink(path string) string {
244
if
path ==
""
{
Callers
15
Prepare
Method · 0.95
GetBookmarks
Method · 0.80
Star
Method · 0.80
SetBookmarks
Method · 0.80
DeleteBookmarks
Method · 0.80
ChangeAvatar
Method · 0.80
PostComment
Method · 0.80
ChangePassword
Method · 0.80
SignToday
Method · 0.80
SignStatus
Method · 0.80
getFansOrFollow
Method · 0.80
UserInfo
Method · 0.80
Calls
2
NewAuth
Function · 0.92
GetByToken
Method · 0.80
Tested by
no test coverage detected