Opened 12 years ago

Closed 12 years ago

#469 closed defect (fixed)

After login to osm always taken to home page

Reported by: Shaun McDonald Owned by: steve@…
Priority: minor Milestone:
Component: rails_port Version:
Keywords: Cc:

Description

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

Attachments (1)

login.patch (4.3 KB) - added by Tom Hughes 12 years ago.
Improved version of patch - catches more cases and does logout as well

Download all attachments as: .zip

Change History (3)

comment:1 Changed 12 years ago by Shaun McDonald

[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 sessionnext_controller? or whatever

Changed 12 years ago by Tom Hughes

Attachment: login.patch added

Improved version of patch - catches more cases and does logout as well

comment:2 Changed 12 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

Patch committed as r3043.

Note: See TracTickets for help on using tickets.