You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/auth
wxiaoguang 245ac321c3
Fix context usage (#33554)
Some old code use direct type-casting to get context, it causes
problems.

This PR fixes all legacy problems and use correct `ctx.Value` to get
low-level contexts.

Fix #33518
2 weeks ago
..
source Fix various trivial problems (#32861) 2 months ago
auth.go Fix context usage (#33554) 2 weeks ago
auth_test.go Add basic auth support to rss/atom feeds (#33371) 4 weeks ago
auth_token.go Enhanced auth token / remember me (#27606) 1 year ago
auth_token_test.go Refactor timeutil package (#28623) 1 year ago
basic.go Add basic auth support to rss/atom feeds (#33371) 4 weeks ago
group.go Remove `Named` interface (#26913) 1 year ago
httpsign.go Remove SHA1 for support for ssh rsa signing (#31857) 6 months ago
interface.go Refactor request context (#32956) 2 months ago
main_test.go Enhanced auth token / remember me (#27606) 1 year ago
oauth2.go Refactor context flash msg and global variables (#33375) 1 month ago
oauth2_test.go Refactor request context (#32956) 2 months ago
reverseproxy.go Refactor context flash msg and global variables (#33375) 1 month ago
session.go Fix the bug that user may logout if he switch pages too fast (#29962) 11 months ago
signin.go remove util.OptionalBool and related functions (#29513) 12 months ago
source.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
sspi.go Fix context usage (#33554) 2 weeks ago
sspiauth_posix.go Make SSPI auth mockable (#27036) 1 year ago
sspiauth_windows.go Make SSPI auth mockable (#27036) 1 year ago
sync.go Use db.Find instead of writing methods for every object (#28084) 1 year ago