Add disable download source configuration (#20548)

Add configuration to enable/disable download source from UI.

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
Lunny Xiaoandzeripath authored and GitHub committed 2022-07-31 18:57:02 +02:00
1 parent 2c2f75cb2c
commit 589677fafb
9 files changed
+39 -16

No files matched your search

+1
View File
@@ -48,6 +48,7 @@ var (
DefaultBranch string
AllowAdoptionOfUnadoptedRepositories bool
AllowDeleteOfUnadoptedRepositories bool
DisableDownloadSourceArchives bool
// Repository editor settings
Editor struct {