mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-01 22:27:34 -04: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>