Open
Description
Description
According to #18452 (comment) session auth handler should probably be called before all other auth handlers (i.e. basic auth, reverse proxy, etc.) to avoid costly auth on every web request (i.e. LDAP flooding when used together with reverse proxy auth).
Seems root of the #27821 problem is not auth handler order; session should be simply destroyed on user logout (or page close in case of SSO scenarios) to disallow reusing same session by another user.
Gitea Version
1.23+
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
compiled from source
Database
None