]> source.dussan.org Git - gitea.git/commit
Move reverproxyauth before session so the header will not be ignored even if user...
authorGiteabot <teabot@gitea.io>
Sun, 12 May 2024 02:25:55 +0000 (10:25 +0800)
committerGitHub <noreply@github.com>
Sun, 12 May 2024 02:25:55 +0000 (10:25 +0800)
commit14dc00ae01c35ad51a3982a5725777bbeabe2b78
tree17a0d1b564c76a9bab59b6cb57c838bf2cc0b704
parent94c5a30c8bd2ae78ffd7bd3b39bee019c531e1e7
Move reverproxyauth before session so the header will not be ignored even if user has login (#27821) (#30948)

Backport #27821 by @lunny

When a user logout and then login another user, the reverseproxy auth
should be checked before session otherwise the old user is still login.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
routers/web/web.go