0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-15 12:31:52 +01:00
gitea/services/auth
wxiaoguang 2c1ff8701a
Refactor context flash msg and global variables (#33375)
1. add `GetSiteCookieFlashMessage` to help to parse flash message
2. clarify `handleRepoHomeFeed` logic
3. remove unnecessary global variables, use `sync.OnceValue` instead
4. add some tests for `IsUsableUsername` and `IsUsableRepoName`
2025-01-25 14:36:47 +00:00
..
source
auth_test.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
auth_token_test.go
auth_token.go
auth.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
basic.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
group.go
httpsign.go
interface.go
main_test.go
oauth2_test.go
oauth2.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
reverseproxy.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
session.go
signin.go
source.go
sspi.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
sspiauth_posix.go
sspiauth_windows.go
sync.go