Development

#7581 (sfGuardPlugin 3.1.3 Remember Me incorrectly redirects to homepage instead of referrer)

You must first sign up to be able to contribute.

Ticket #7581 (new defect)

Opened 3 months ago

sfGuardPlugin 3.1.3 Remember Me incorrectly redirects to homepage instead of referrer

Reported by: exien Assigned to: fabien
Priority: major Milestone:
Component: sfGuardPlugin Version: 1.2.9
Keywords: Cc:
Qualification: Unreviewed

Description

1. A user logs in with remember me checked.
2. Their session times out.
3. User clicks on an authenticated link (trying to go to page B).
4. Remember me knows they should still be authenticated, so it re-authenticated them (remember me filter).
5. The signin method then sends the user to the homepage instead of page B (where they want to go).

This patch sends the user to page B instead of the homepage.

This patch also fixed initial login issue, where a user tries to view page B, but is redirected to the login page (if not authenticated). On successful authentication it now redirects to page B as it should instead of the homepage.

Attachments

file.patch (1.1 kB) - added by exien on 11/13/09 20:19:26.

Change History

11/13/09 20:19:26 changed by exien

  • attachment file.patch added.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.