mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 20:59:29 +02:00
Added option to disable web hooks
This mod introduces DISABLE_WEB_HOOKS parameter in [security] section of app.ini (by default set to false). If set to true it disables web hooks feature. Any existing undelivered web hook tasks will be cancelled. Any existing web hook definitions will be left untouched in db but its delivery tasks will be ignored. Author-Change-Id: IB#1105130
This commit is contained in:
1 parent
b222dbc1d1
commit
07df6614dc
12 files changed
+62
-19
No files matched your search
@@ -541,6 +541,8 @@ IMPORT_LOCAL_PATHS = false
|
||||
; It also enables them to access other resources available to the user on the operating system that is running the Gitea instance and perform arbitrary actions in the name of the Gitea OS user.
|
||||
; WARNING: This maybe harmful to you website or your operating system.
|
||||
DISABLE_GIT_HOOKS = true
|
||||
; Set to false to disable web hooks feature.
|
||||
DISABLE_WEB_HOOKS = false
|
||||
; Set to false to allow pushes to gitea repositories despite having an incomplete environment - NOT RECOMMENDED
|
||||
ONLY_ALLOW_PUSH_IF_GITEA_ENVIRONMENT_SET = true
|
||||
;Comma separated list of character classes required to pass minimum complexity.
|
||||
|
||||
Reference in new issue
Block a user