mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-07-24 18:38:42 +00:00
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/13587 Fixes #13546. https://codeberg.org/forgejo/forgejo/pulls/12776 separated web routes for different endpoints based upon the authentication required to access them. In the process, a middleware constructor `common.Sessioner()` was invoked multiple times, one for each auth group. When using an in-memory session store, this resulted in 6 different in-memory session stores being created with independent data storage. As a result, when using an in-memory session store, session authentication didn't work the web routes that didn't perform the login session. Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13589 Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org> |
||
|---|---|---|
| .. | ||
| admin | ||
| auth | ||
| demo | ||
| events | ||
| explore | ||
| feed | ||
| healthcheck | ||
| misc | ||
| moderation | ||
| org | ||
| repo | ||
| shared | ||
| user | ||
| githttp.go | ||
| goget.go | ||
| home.go | ||
| metrics.go | ||
| nodeinfo.go | ||
| resizing.go | ||
| swagger_json.go | ||
| web.go | ||
| webfinger.go | ||