Closed (fixed)
Project:
Login Destination
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2011 at 13:37 UTC
Updated:
23 Dec 2011 at 20:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mithy commentedPlease clear caches. It should work after this.
Comment #2
seandunaway commentedI'm experiencing the same but on 6.x-dev
Comment #3
Buckminster_Bond commentedI've cleared caches (both via Drupal and in phpMyAdmin to be sure) but am still experiencing that is not redirecting to the previous page, but instead goes to the front page. Not sure if I am correct in assuming that should redirect to what is really the referring page or not.
(Redirecting to any other node works well.)
Comment #4
mithy commentedHi
If you updated to the stable from any kind of dev or beta without installing from scratch you may have such issues. Uninstall the current LD (not only uncheck it on the modules page, but also remove all the data in DB on uninstall page), because the installer changed since dev. Redirecting to the current page is tricky, because it involves posting the current page id all way long. You can check, whether the link to login form has sth like this: ?current=node/1.
Comment #5
Anonymous (not verified) commented@#4 it works for logging out, the url is logout?current=page. Except it doesn't work for login links, there is no ?current part,
Comment #6
Anonymous (not verified) commentedI was using "user/login" path, instead of just "user", which works fine. Problem solved.
Comment #7
nafmarcus commentedBut I need to user "user/login" in order to get the system to automatically hide the LOGIN link when logged in. So I the login redirect is not working.
Comment #8
Anonymous (not verified) commentedIndeed, I needed that too. Here is a patch.
Comment #9
mithy commentedFixed on dev. The patch did not include changes to the login_destination.install file.