[openstreetmap/openstreetmap-website] Login page does not check if a user is logged in (Issue #5441)

Dimitar notifications at github.com
Fri Dec 27 11:00:48 UTC 2024


> We can add a message to the login page that you're already logged in. And if there's a referrer, we can add a link to that page.

That is a good solution, given the fact the current behavior is useful to some people.

> Quite this is behaving as intended but the user has changed context behind the site's back - the page was rendered in one context with a set of cookies that indicated the user is logged in and the user then switched to a different context with different cookies which is not really a supported thing to do.

Just for the record, the change is not "behind the site's back". When switching containers, a new tab is opened and the page is loaded again. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5441#issuecomment-2563582731
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5441/2563582731 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241227/f771845e/attachment.htm>


More information about the rails-dev mailing list