0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-19 00:29:08 +01:00
gitea/routers
wxiaoguang 4d1e2b8334
Fix token generation when using INTERNAL_TOKEN_URI (#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.
2022-11-03 20:55:09 +00:00
..
api Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
common
install Fix token generation when using INTERNAL_TOKEN_URI (#21669) 2022-11-03 20:55:09 +00:00
private
utils
web Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
init.go