1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 18:24:27 +00:00
Giteabot 199397a852
Avoid importing modules/web/middleware in modules/session (#30584) (#30589)
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>
2024-04-19 07:44:24 +00:00
..
2024-02-25 13:32:13 +00:00
2024-02-25 13:32:13 +00:00
2024-03-21 15:07:35 +00:00
2023-12-19 09:29:05 +00:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2024-03-04 08:16:03 +00:00
2024-02-25 13:32:13 +00:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00
2024-03-14 04:59:52 +00:00
2024-01-12 21:50:38 +00:00