]> git.openstreetmap.org Git - rails.git/commitdiff
Add proper referrer for authorization scenario
authorMilan Cvetkovic <mcvetkovic@microsoft.com>
Mon, 27 May 2024 12:38:06 +0000 (12:38 +0000)
committerMilan Cvetkovic <mcvetkovic@microsoft.com>
Mon, 27 May 2024 13:31:20 +0000 (13:31 +0000)
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.


No differences found