mirror of
https://github.com/go-gitea/gitea
synced 2024-12-25 18:14:28 +00:00
944f1ec54c
Backport #30584 by @wolfogre Related to #30375. It doesn't make sense to import `modules/web/middleware` and `modules/setting` in `modules/web/session` since the last one is more low-level. And it looks like a workaround to call `DeleteLegacySiteCookie` in `RegenerateSession`, so maybe we could reverse the importing by registering hook functions. Co-authored-by: Jason Song <i@wolfogre.com> |
||
---|---|---|
.. | ||
middleware | ||
routing | ||
types | ||
handler.go | ||
route_test.go | ||
route.go | ||
routemock_test.go | ||
routemock.go |