1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/models/auth
Lunny Xiao 673cf6af76
make writing main test easier (#27270)
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-28 01:38:53 +00:00
..
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
oauth2.go Ignore the trailing slashes when comparing oauth2 redirect_uri (#26597) 2023-08-21 12:15:55 +08:00
oauth2_test.go Ignore the trailing slashes when comparing oauth2 redirect_uri (#26597) 2023-08-21 12:15:55 +08:00
session.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
source.go Fix 500 error if there is a name conflict when edit authentication source (#23832) 2023-03-31 22:32:18 +08:00
source_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
token.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
token_scope.go Remove "misc" scope check from public API endpoints (#26134) 2023-07-26 02:53:31 +00:00
token_scope_test.go Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
token_test.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
twofactor.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
webauthn.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
webauthn_test.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00