From 03c7255c9b0fa710a90a3bc5748030998f0e368d Mon Sep 17 00:00:00 2001 From: TastyHeadphones Date: Sat, 26 Sep 2026 02:44:00 +0900 Subject: [PATCH] docs: remove unused COOKIE_USERNAME from app.example.ini (#39365) `COOKIE_USERNAME` is documented in `app.example.ini` but nothing in the tree reads it (unlike `COOKIE_REMEMBER_NAME` / session `COOKIE_NAME`). An admin who sets it gets silence and no effect. Removed the dead example lines. Fixes #39353 AI disclosure: assisted with drafting; I verified the setting is unused and reviewed the diff. Signed-off-by: TastyHeadphones --- custom/conf/app.example.ini | 3 --- 1 file changed, 3 deletions(-) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 3b3a17009cd..aa1042e393e 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -458,9 +458,6 @@ INTERNAL_TOKEN = ;; How long to remember that a user is logged in before requiring relogin (in days) ;LOGIN_REMEMBER_DAYS = 31 ;; -;; Name of the cookie used to store the current username. -;COOKIE_USERNAME = gitea_awesome -;; ;; Name of cookie used to store authentication information. ;COOKIE_REMEMBER_NAME = gitea_incredible ;;