[openstreetmap/openstreetmap-website] Draft: Refactor confirmations controller (PR #5895)
rkoeze
notifications at github.com
Mon Apr 7 03:08:18 UTC 2025
@rkoeze commented on this pull request.
> @@ -445,6 +451,55 @@ def deletion_allowed?
deletion_allowed_at <= Time.now.utc
end
+ # Gracefully fallback to looking up users by deprecated new_user and new_email tokens
+ def self.lookup_by_confirmation_token(account_confirmation_token)
The idea here is that we will support the `new_user` and `new_email` tokens issued to users who have signed up or changed their emails for some period of time. At that point this code and the older routes can be removed.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5895#pullrequestreview-2745434379
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5895/review/2745434379 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250406/e46bb7a9/attachment.htm>
More information about the rails-dev
mailing list