29 Commits (111c822a309adc7a6d8ce052d32ee1abe2ce920d)

Author SHA1 Message Date
6543 fbe80e6df2
Add proper error message if session provider can not be created (#35520) 4 months ago
wxiaoguang 0cbaa0b662
Remove incorrect "db.DefaultContext" usages (#35366) 5 months ago
wxiaoguang 86aafea3fb
Fix session gob (#35128) 6 months ago
wxiaoguang 0148d03f21
Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 9 months ago
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622) 2 years ago
Jason Song 61457cdf6b
Avoid importing `modules/web/middleware` in `modules/session` (#30584) 2 years ago
Jonathan Tran b18c04ebde
fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 2 years ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 3 years ago
techknowlogick 985f76dc4b
Update redis library to support redis v7 (#24114) 3 years ago
wxiaoguang 97d5ec2aeb
Use Get/Set instead of Rename when Regenerate session id (#23975) 3 years ago
Jason Song f59a74852b
Update gitea-vet to check FSFE REUSE (#22004) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 4 years ago
zeripath bcc13f3889
Reset Session ID on login (#18018) 4 years ago
Lunny Xiao 5326f4c9c5
Move session to models/login (#17338) 4 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 5 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 5 years ago
zeripath 0a9a484e1e
Create DB session provider(based on xorm) (#13031) 5 years ago
6543 ac97ea573c
[Vendor] Update go-redis to v8.5.0 (#13749) 5 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 5 years ago
zeripath 7f8e3192cd
Allow common redis and leveldb connections (#12385) 5 years ago
zeripath 5fd9f72104
When reading expired sessions - expire them (#12686) 5 years ago
zeripath f7e3767929
Prevent (caught) panic on login (#11590) 6 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 7 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 7 years ago
zeripath 3d5d2fa9d8
Unfortunately MemProvider Init does not actually Init properly (#6692) 7 years ago
zeripath b33f7f792b
Prevent creating empty sessions (#6677) 7 years ago