@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/2745434...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev