### URL
https://www.openstreetmap.org/login?referer=%2Fedit%3Frelation%3D15090094#map=19/33.411025/-114.923289
### How to reproduce the issue?
1. Open osm.org in a container that is not normally used for osm.org (i.e. you
are not logged in there)
2. Press "Edit" (you are redirected to the login page, some referrer value is
added to the URL)
3. Change the container of the tab (right click tab -> "Open in new container
tab" -> select the container where you are logged into OSM)
4. The login page is displayed even though you are logged in
The expected behavior would be to check if the user is logged in already and if
he is, redirect him to the `referer` or to the main page.
The bug appears in Firefox when using
[multi-account-containers](https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/).
I don't know if it's reproducible in other browsers.
### Screenshot(s) or anything else?

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5441
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev