aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorwackbyte <wackbyte@pm.me>2024-01-28 07:36:44 -0500
committerGitHub <noreply@github.com>2024-01-28 12:36:44 +0000
commitd9b3849454e04c1f498c12e29b8c19660cbae328 (patch)
tree3e0140a7bb21c87c6a8f07248e55ffc2ca9a82a0 /custom
parent61f8ca4906c4c51f9e7e9598417a9674556e670a (diff)
downloadgitea-d9b3849454e04c1f498c12e29b8c19660cbae328.tar.gz
gitea-d9b3849454e04c1f498c12e29b8c19660cbae328.zip
Fix inconsistent naming of OAuth 2.0 `ENABLE` setting (#28951)
Renames it to `ENABLED` to be consistent with other settings and deprecates it. I believe this change is necessary because other setting groups such as `attachment`, `cors`, `mailer`, etc. have an `ENABLED` setting, but `oauth2` is the only one with an `ENABLE` setting, which could cause confusion for users. This is no longer a breaking change because `ENABLE` has been set as deprecated and as an alias to `ENABLED`.
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index b0875123b7..7032e709db 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -524,7 +524,7 @@ INTERNAL_TOKEN=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Enables OAuth2 provider
-ENABLE = true
+ENABLED = true
;;
;; Algorithm used to sign OAuth2 tokens. Valid values: HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512, EdDSA
;JWT_SIGNING_ALGORITHM = RS256