1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 16:54:27 +01:00
gitea/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_auth_ldap_test.go
admin_auth_ldap.go
admin.go
cert.go
cmd.go
convert.go
docs.go
doctor.go
dump_repo.go
dump.go
embedded_stub.go
embedded.go
generate.go
hook_test.go
hook.go
keys.go
mailer.go
main_test.go
manager_logging.go
manager.go
migrate_storage_test.go
migrate_storage.go
migrate.go
restore_repo.go
serv.go
web_acme.go
web_graceful.go
web_https.go
web.go Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2022-10-02 01:26:33 +08:00