diff options
author | Giteabot <teabot@gitea.io> | 2024-04-19 15:44:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 07:44:24 +0000 |
commit | 199397a852ec2d45524cefcc3c119fce4710560e (patch) | |
tree | a10c43d0ba8248bc60fb8fb795a57d70d64e651a /.editorconfig | |
parent | a1a65b49a8e77a5b9bf8d9474eff3eab9111c031 (diff) | |
download | gitea-199397a852ec2d45524cefcc3c119fce4710560e.tar.gz gitea-199397a852ec2d45524cefcc3c119fce4710560e.zip |
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>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions