aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-12-08 09:21:37 +0100
committerGitHub <noreply@github.com>2022-12-08 16:21:37 +0800
commit0585ac3ac6ff4f59e8455cb5f4cbe42c4b79c965 (patch)
tree4af0fa56e13f9a2008a7d34b2fc776c5373868af /modules/setting
parentcf27403e189f674d9a1e02cb71bc1ac13a5ba23d (diff)
downloadgitea-0585ac3ac6ff4f59e8455cb5f4cbe42c4b79c965.tar.gz
gitea-0585ac3ac6ff4f59e8455cb5f4cbe42c4b79c965.zip
Update go dev dependencies (#22064)
`golangci-lint` [deprecated](https://github.com/golangci/golangci-lint/issues/1841) a bunch of linters, removed them.
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index f0d7f02927..9f2f0933d4 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -941,7 +941,7 @@ func loadFromConf(allowEmpty bool, extraConfig string) {
if SecretKey == "" {
// FIXME: https://github.com/go-gitea/gitea/issues/16832
// Until it supports rotating an existing secret key, we shouldn't move users off of the widely used default value
- SecretKey = "!#@FDEWREWR&*(" // nolint:gosec
+ SecretKey = "!#@FDEWREWR&*(" //nolint:gosec
}
CookieRememberName = sec.Key("COOKIE_REMEMBER_NAME").MustString("gitea_incredible")