1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 01:03:10 +00:00
forgejo/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 Rework raw file http header logic (#20484) 2022-07-29 17:26:55 +02:00
install Fix token generation when using INTERNAL_TOKEN_URI (#21669) 2022-11-03 20:55:09 +00:00
private Merge db.Iterate and IterateObjects (#21641) 2022-10-31 23:51:14 +08:00
utils refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
web Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
init.go Sync git hooks when config file path changed (#21619) 2022-10-28 19:53:08 +03:00