Closed lonix1 closed 8 months ago
This log happens when the value is set to false, but default it is false. So if you don't have it defined, then it'll be false and show you the warning.
Thanks. So by default everyone sees this log?
I think IsSet
should be checked. If user haven't set it. It can be ignored.
If this is in the log for everyone, I'm surprised I'm the first to mention it :smile:
Maybe we can reopen the issue?
This error message sneaks into the stdout for the gitea actions generate-runner-token
command and breaks scripts which use the output of this command to register runners (https://github.com/nodiscc/xsrv/blob/master/roles/gitea_act_runner/tasks/act-runner.yml#L176).
I think the message should not be displayed at all if DISABLE_QUERY_AUTH_TOKEN
is not set at all in the configuration file.
Can we reopen this?
Yes it is a false positive and will cause more confusion and more issues on the repo.
Please reopen.
Automatically locked because of our CONTRIBUTING guidelines
Description
When my gite docker instance starts it logs this:
But in my
app.ini
I did not setDISABLE_QUERY_AUTH_TOKEN
.Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
SQLite