mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 14:31:02 +00:00 
			
		
		
		
	| manually backport for https://github.com/go-gitea/gitea/pull/27995
The conflict is `ctx` and `db.Defaultctx`.
(cherry picked from commit  | ||
|---|---|---|
| .. | ||
| auth_token.go | ||
| main_test.go | ||
| oauth2.go | ||
| oauth2_test.go | ||
| session.go | ||
| source.go | ||
| source_test.go | ||
| token.go | ||
| token_scope.go | ||
| token_scope_test.go | ||
| token_test.go | ||
| twofactor.go | ||
| webauthn.go | ||
| webauthn_test.go | ||