File tree Expand file tree Collapse file tree 5 files changed +3
-6
lines changed Expand file tree Collapse file tree 5 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ import (
1313 "code.gitea.io/gitea/modules/log"
1414)
1515
16+ // Security settings
17+
1618var (
17- // Security settings
1819 InstallLock bool
1920 SecretKey string
2021 InternalToken string // internal access token
2728 ReverseProxyTrustedProxies []string
2829 MinPasswordLength int
2930 ImportLocalPaths bool
30- DisableGitHooks bool
31+ DisableGitHooks = true
3132 DisableWebhooks bool
3233 OnlyAllowPushIfGiteaEnvironmentSet bool
3334 PasswordComplexity []string
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ COLORIZE = true
9393LEVEL = Debug
9494
9595[security]
96- DISABLE_GIT_HOOKS = false
9796INSTALL_LOCK = true
9897SECRET_KEY = 9pCviYTWSb
9998INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTU1NTE2MTh9.hhSVGOANkaKk3vfCd2jDOIww4pUk0xtg9JRde5UogyQ
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ COLORIZE = true
9494LEVEL = Debug
9595
9696[security]
97- DISABLE_GIT_HOOKS = false
9897INSTALL_LOCK = true
9998SECRET_KEY = 9pCviYTWSb
10099INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTU1NTE2MTh9.hhSVGOANkaKk3vfCd2jDOIww4pUk0xtg9JRde5UogyQ
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ COLORIZE = true
9494LEVEL = Debug
9595
9696[security]
97- DISABLE_GIT_HOOKS = false
9897INSTALL_LOCK = true
9998SECRET_KEY = 9pCviYTWSb
10099INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTU1NTE2MTh9.hhSVGOANkaKk3vfCd2jDOIww4pUk0xtg9JRde5UogyQ
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ COLORIZE = true
9393LEVEL = Debug
9494
9595[security]
96- DISABLE_GIT_HOOKS = false
9796INSTALL_LOCK = true
9897SECRET_KEY = 9pCviYTWSb
9998INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTI3OTU5ODN9.OQkH5UmzID2XBdwQ9TAI6Jj2t1X-wElVTjbE7aoN4I8
You can’t perform that action at this time.
0 commit comments