Disabling Stars should disable the routes too
Similarly to how `[repository].DISABLE_FORKS` works, lets make `[repository].DISABLE_STARS` disable the routes too, not just hide the functionality from the UI. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
parent
3d3196eb3c
commit
0b4a9c4ec2
6 changed files with 96 additions and 15 deletions
|
@ -49,7 +49,7 @@ var (
|
|||
DownloadOrCloneMethods []string
|
||||
PrefixArchiveFiles bool
|
||||
DisableMigrations bool
|
||||
DisableStars bool `ini:"DISABLE_STARS"`
|
||||
DisableStars bool
|
||||
DisableForks bool
|
||||
DefaultBranch string
|
||||
AllowAdoptionOfUnadoptedRepositories bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue