[openstreetmap/openstreetmap-website] display an encouragement to contribute after many anonymous notes (PR #5468)
etiennejourdier
notifications at github.com
Fri Jan 10 22:25:21 UTC 2025
@etiennejourdier commented on this pull request.
> @@ -39,6 +39,8 @@ def successful_login(user, referer = nil)
session[:fingerprint] = user.fingerprint
session_expires_after 28.days if session[:remember_me]
+ cookies.delete :_osm_anonymous_notes_count
> The point could be that if I log in my session may expire faster than that and I'll se the message again. But maybe it's not worth doing anything about it.
I added the deletion of the cookie after successful login
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5468#pullrequestreview-2544110216
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5468/review/2544110216 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250110/ac6d7970/attachment.htm>
More information about the rails-dev
mailing list