summaryrefslogtreecommitdiffstats
path: root/custom/conf/app.ini.sample
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-12-20 06:59:56 -0600
committerGitHub <noreply@github.com>2017-12-20 06:59:56 -0600
commit529482135c8e9304dd7cdf08772eaba61d903894 (patch)
treed505021b322cf06ab431fa508036221c4c46b677 /custom/conf/app.ini.sample
parente67b4055f9087cc381df437502f3cd912abb53ed (diff)
downloadgitea-529482135c8e9304dd7cdf08772eaba61d903894.tar.gz
gitea-529482135c8e9304dd7cdf08772eaba61d903894.zip
Support default private when creating or migrating repository (#3239)
* support default private when creating or migrating repository * fix fmt * use string constants on repository default private in app.ini * fix fmt
Diffstat (limited to 'custom/conf/app.ini.sample')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 6a8ae48a91..abe004217f 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -16,6 +16,8 @@ SCRIPT_TYPE = bash
ANSI_CHARSET =
; Force every new repository to be private
FORCE_PRIVATE = false
+; Default private when create a new repository, could be: last, private, public. Default is last which means last user repo visiblity.
+DEFAULT_PRIVATE = last
; Global maximum creation limit of repository per user, -1 means no limit
MAX_CREATION_LIMIT = -1
; Mirror sync queue length, increase if mirror syncing starts hanging