Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

After login to osm always taken to home page #469

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

After login to osm always taken to home page #469

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: shaunmcdonald131[at]gmail.com
[Submitted to the original trac issue database at 3.07pm, Saturday, 19th May 2007]

If you try to go to say http://www.openstreetmap.org/traces/mine and you are not currently logged in, you will be presented with a login screen. After logging in you will be taken to http://www.openstreetmap.org/ instead of http://www.openstreetmap.org/traces/mine

@openstreetmap-trac
Copy link
Author

Author: shaunmcdonald131[at]gmail.com
[Added to the original trac issue at 10.49pm, Saturday, 19th May 2007]

[23:37] SteveC: shaunmcdonald: should be easy to fix, look for 'def login' in user_controller.rb for somehting like 'redirect_to :controller => 'site', :action => 'index'' and change it to user,account
[23:38] shaunmcdonald: SteveC: no I want it to go to the original location that was requested
[23:38] SteveC: then set it to redirect_to :back then
[23:38] SteveC: or play around with session['next_controller'] or whatever

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 3.36pm, Monday, 28th May 2007]

Patch committed as r3043.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant