forgejo/cmd
Clar Fon 3d10193be2
Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663)
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>
2022-10-02 01:26:33 +08:00
..
admin.go
admin_auth_ldap.go
admin_auth_ldap_test.go
cert.go
cmd.go
convert.go
docs.go
doctor.go
dump.go
dump_repo.go
embedded.go
embedded_stub.go
generate.go
hook.go
hook_test.go
keys.go
mailer.go
main_test.go
manager.go
manager_logging.go
migrate.go
migrate_storage.go
migrate_storage_test.go
restore_repo.go
serv.go
web.go
web_acme.go
web_graceful.go
web_https.go