diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2021-06-23 16:56:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 16:56:25 +0200 |
commit | 31f6b95dfa17458a86119fc6ae546eb7dd47e2f4 (patch) | |
tree | 0d4241ec02b4c7fe989fea66fb3e4984df4bfa9e /modules | |
parent | be81dc8b20b86c87031cd1d2d7c9a2fe82f52ba8 (diff) | |
download | gitea-31f6b95dfa17458a86119fc6ae546eb7dd47e2f4.tar.gz gitea-31f6b95dfa17458a86119fc6ae546eb7dd47e2f4.zip |
Use data path instead of config path (#16227)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index f648179155..020101430d 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -805,7 +805,7 @@ func NewContext() { } if !filepath.IsAbs(OAuth2.JWTSigningPrivateKeyFile) { - OAuth2.JWTSigningPrivateKeyFile = filepath.Join(CustomPath, OAuth2.JWTSigningPrivateKeyFile) + OAuth2.JWTSigningPrivateKeyFile = filepath.Join(AppDataPath, OAuth2.JWTSigningPrivateKeyFile) } sec = Cfg.Section("admin") |