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
Giteabot 7b96f71bc7
Fix attachment download bug (#27486) (#27570)
Backport #27486 by @lunny

Fix #27204

This PR allows `/<username>/<reponame>/attachments/<uuid>` access with
personal access token and also changed attachments API download url to
it so it can be download correctly.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 year ago
..
source Improve LDAP group config documentation (#21227) (#26921) 2 years ago
auth.go Fix attachment download bug (#27486) (#27570) 1 year ago
auth_test.go Fix attachment download bug (#27486) (#27570) 1 year ago
basic.go Fix attachment download bug (#27486) (#27570) 1 year ago
group.go Fix the error message when the token is incorrect (#25701) (#25836) 2 years ago
httpsign.go refactor auth interface to return error when verify failure (#22119) 2 years ago
interface.go Improve template system and panic recovery (#24461) 2 years ago
middleware.go Decouple the different contexts from each other (#24786) 2 years ago
oauth2.go Fix attachment download bug (#27486) (#27570) 1 year ago
reverseproxy.go Fix attachment download bug (#27486) (#27570) 1 year ago
session.go refactor auth interface to return error when verify failure (#22119) 2 years ago
signin.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) (#25161) 2 years ago
source.go Implement FSFE REUSE for golang files (#21840) 2 years ago
sspi_windows.go Fix SSPI auth panic (#25955) (#25969) 2 years ago
sync.go Implement FSFE REUSE for golang files (#21840) 2 years ago