From 062325f27e0352fdefd37435d582d21a1ce94207 Mon Sep 17 00:00:00 2001 From: Mathias Merscher Date: Sun, 10 Mar 2019 13:43:59 +0100 Subject: [PATCH] adds new ini parameter DEFAULT_PRIVATE --- templates/gitea.ini.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/gitea.ini.j2 b/templates/gitea.ini.j2 index 5c788d6..d8a8685 100644 --- a/templates/gitea.ini.j2 +++ b/templates/gitea.ini.j2 @@ -12,6 +12,8 @@ SCRIPT_TYPE = bash ANSI_CHARSET = ; Force every new repository to be private FORCE_PRIVATE = {{ gitea_force_private }} +; Default privacy setting when creating a new repository, allowed values: last, private, public. Default is last which means the last setting used. +DEFAULT_PRIVATE = last ; Global maximum creation limit of repository per user, -1 means no limit MAX_CREATION_LIMIT = {{ gitea_user_repo_limit }} ; Mirror sync queue length, increase if mirror syncing starts hanging