1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 03:34:45 +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 test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
migrate_storage.go fix hard-coded timeout and error panic in API archive download endpoint (#20925) 2022-08-29 11:45:20 +02:00
migrate.go
restore_repo.go
serv.go Fix typo (#21201) 2022-09-18 16:13:34 +08:00
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