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
oauth2_test.go
session.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
source.go
source_test.go
token.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
token_scope.go
token_scope_test.go
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