mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-23 10:06:41 +08:00

Only load SECRET_KEY and INTERNAL_TOKEN if they exist. Never write the config file if the keys do not exist, which was only a fallback for Gitea upgraded from < 1.5 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>