diff options
author | techknowlogick <techknowlogick@users.noreply.github.com> | 2017-09-12 05:25:42 -0400 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-09-12 12:25:42 +0300 |
commit | 9bdbfbf6f3289f4df0df5aae9998a08483f22218 (patch) | |
tree | 5ae5d89fbb745876517fba4abb2a0c007a3654de /conf | |
parent | 3fecf94086be1b5f2bddd48cebc0e1ca4702de5c (diff) | |
download | gitea-9bdbfbf6f3289f4df0df5aae9998a08483f22218.tar.gz gitea-9bdbfbf6f3289f4df0df5aae9998a08483f22218.zip |
Disable custom Git Hooks globally via configuration file (#2450)
* Create option to disable githooks globally via configuration file
* Update comment in app.ini to align with @ethantkoenig's suggestion
Signed-off-by: Matti Ranta <matti@mdranta.net>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 676321d7d5..9674b815c9 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -206,6 +206,8 @@ REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER MIN_PASSWORD_LENGTH = 6 ; True when users are allowed to import local server paths IMPORT_LOCAL_PATHS = false +; Prevent all users (including admin) from creating custom git hooks +DISABLE_GIT_HOOKS = false [openid] ; |