fix: Open csp-images to allow external (#1835)

External images are required for the README parts of templates.
Only allowing https right now
This commit is contained in:
Steven Masley
2022-05-27 09:59:13 -05:00
committed by GitHub
parent 7a5c8734ee
commit a409a34819
4 changed files with 47 additions and 3 deletions

View File

@ -119,6 +119,7 @@ func TestAuthorizeAllEndpoints(t *testing.T) {
"POST:/api/v2/users/login": {NoAuthorize: true},
"POST:/api/v2/users/logout": {NoAuthorize: true},
"GET:/api/v2/users/authmethods": {NoAuthorize: true},
"POST:/api/v2/csp/reports": {NoAuthorize: true},
// Has it's own auth
"GET:/api/v2/users/oauth2/github/callback": {NoAuthorize: true},