]> source.dussan.org Git - gitea.git/commit
Warn that `DISABLE_QUERY_AUTH_TOKEN` is false only if it's explicitly defined (#28783)
authorYarden Shoham <git@yardenshoham.com>
Sun, 14 Jan 2024 20:20:18 +0000 (22:20 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Jan 2024 20:20:18 +0000 (21:20 +0100)
commit5a7bacb005b092f41640a4f72bba78d4918a9fb1
tree8997bd53f3259ab81edf8c3c93ae87523da6c0b3
parentfa8c3beb26acfcc7e732038c947225857ebcbf31
Warn that `DISABLE_QUERY_AUTH_TOKEN` is false only if it's explicitly defined (#28783)

So we don't warn on default behavior

- Fixes https://github.com/go-gitea/gitea/issues/28758
- Follows https://github.com/go-gitea/gitea/pull/28390

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
modules/setting/security.go