[openstreetmap/openstreetmap-website] Add proper referrer for authorization scenario (PR #4846)
Milan Cvetkovic
notifications at github.com
Mon May 27 13:33:04 UTC 2024
Fixes the following:
- `users_controller#new` loses referer in authorization scenario, when it was invoked after social signup succeded
- the second invocation of `auth_success`, triggered by re-authorization initiated from `users_controller#create` does not have referrer field set
- as a result, the final welcome screen does not offer final authorization, and drops into ID instead
Introduced by #4758.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4846
-- Commit Summary --
* Add proper referrer for authorization scenario
-- File Changes --
M app/controllers/users_controller.rb (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4846.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4846.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4846
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4846 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240527/83f1e487/attachment.htm>
More information about the rails-dev
mailing list