Commit Graph

11 Commits (368b0881f502dd36a1ae725493c85683803fd816)

Author SHA1 Message Date
Lunny Xiao 82db9a2ba7
Fix the bug that user may logout if he switch pages too fast (#29962) 8 months ago
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 1 year ago
KN4CK3R 0eebeeec90
Remove `Named` interface (#26913) 1 year ago
Lunny Xiao ca67c5a8a7
refactor auth interface to return error when verify failure (#22119) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Paweł Bogusławski 2d3b52c244
SessionUser protection against nil pointer dereference (#21358) 2 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 4 years ago