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 <tastyheadphones@icloud.com>
This commit is contained in:
TastyHeadphones
2026-09-26 02:44:00 +09:00
committed by GitHub
parent a7b0327ff6
commit 03c7255c9b
-3
View File
@@ -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
;;