89d52922d0
Backport #21669 Fix https://github.com/go-gitea/gitea/issues/21666 Caused by https://github.com/go-gitea/gitea/pull/19663 Before: when install, the INTERNAL_TOKEN was always generated and saved. But the internal token may be already there by INTERNAL_TOKEN_URI After: INTERNAL_TOKEN_URI file must be non-empty. When install, skip internal token generation if the token exists. |
||
---|---|---|
.. | ||
attachment.go | ||
cache.go | ||
cors.go | ||
cron.go | ||
cron_test.go | ||
database.go | ||
database_sqlite.go | ||
database_test.go | ||
directory.go | ||
federation.go | ||
git.go | ||
i18n.go | ||
indexer.go | ||
indexer_test.go | ||
lfs.go | ||
log.go | ||
mailer.go | ||
markup.go | ||
migrations.go | ||
mime_type_map.go | ||
mirror.go | ||
oauth2_client.go | ||
packages.go | ||
picture.go | ||
project.go | ||
proxy.go | ||
queue.go | ||
repository.go | ||
service.go | ||
session.go | ||
setting.go | ||
setting_test.go | ||
storage.go | ||
storage_test.go | ||
task.go | ||
webhook.go |