From 051e039b2dce74ff01aac76b85d01e8b51b00aa2 Mon Sep 17 00:00:00 2001 From: Nicolas FAUGEROUX Date: Mon, 3 Jun 2024 20:33:38 +0200 Subject: [PATCH] fix: use correct key for oauth2 section ENABLED --- templates/gitea.ini.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitea.ini.j2 b/templates/gitea.ini.j2 index e4bea98..ae03552 100644 --- a/templates/gitea.ini.j2 +++ b/templates/gitea.ini.j2 @@ -257,7 +257,7 @@ TOKEN = {{ gitea_metrics_token }} ; ; -> https://docs.gitea.com/next/administration/config-cheat-sheet/#oauth2-oauth2 [oauth2] -ENABLE = {{ gitea_oauth2_enabled | ternary('true', 'false') }} +ENABLED = {{ gitea_oauth2_enabled | ternary('true', 'false') }} JWT_SECRET = {{ gitea_oauth2_jwt_secret }} {{ gitea_oauth2_extra_config }} ;