Closed (fixed)
Project:
Login Destination
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Mar 2011 at 17:29 UTC
Updated:
28 Jun 2011 at 18:18 UTC
In the login destination setting page (see image) I checked the box...
Return user to where he/she came from. (Preserve destination)
If checked, 'destination=' parameter specified in the URL will be used to perform redirection.
NOTE: All options below will be ignored then!.
Users click on a node they can not view
they go on login page
they input their user and password
they are on their user page
before I installed protected node module where there is indicated a conflict with login destination.
So after login destination does not work I disable and then unistalled protected node module, so the answer is:
now where I'm wrong?
| Comment | File | Size | Author |
|---|---|---|---|
| a.jpeg | 70.63 KB | fabrizioprocopio |
Comments
Comment #1
asb commentedSame issue here. I assume that "login destination" can only evaluate the referrer (= login page)?
Comment #2
fabrizioprocopio commentedyes, you are right...
Comment #3
asb commentedPossible workarounds: http://drupal.org/node/418478
Comment #4
fabrizioprocopio commentedI got a doubt now:
module ought to let user that go to a page they can't see as anonymous (e.g.,:
node/03assume with a custom URLolny-logged-users-page)to be redirect to the login page that will be composed not as usual (/user) but with a different built URL (e.g.:
/user?destination=only-logged-users-pageor else/user?destination=node/03)so to bring user back to the page (
olnly-logged-users-pageor elsenode/03) they come fromif users land to the home page it means the function "Preserve destination" doesen't work.. it got no sense
tell me if I'm wrong...
Comment #5
mithy commentedThe referrer when logging from the login form is the user page. This behavior has been changed to be the page user visited before going to the the login form. This works out of the box in 7.x.
Comment #6
heck commentedsimilar issue... when i click on user/register, i stay on the login page.. but doing it twice gives me what i want
Comment #8
izmeez commentedIs this also fixed in the 6.x-2.x branch?
Comment #9
mithy commentedNo, I decided to give up any development on that branch because 7.x is already on the roll.
Comment #10
heck commentedany updates on this issue? thanks
Comment #11
mithy commentedit is implemented on the 7.x-dev. It won't be implemented on the 6.x branch.