Closed (fixed)
Project:
Persistent Login
Version:
6.x-1.4-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2009 at 19:25 UTC
Updated:
13 May 2009 at 22:00 UTC
The remember me button displays next to User Login link. I suspect it shouldn't be there when the block configuration is set to Block type: link. I don't remember seeing the button in previous versions.
Comments
Comment #1
markus_petrux commentedhmm... using Persistent Login (PL) with Login Toboggan (LT), I guess. :)
Well, this is probably a side effect of the method PL is using now to adjust the weight and tabindex attributes of the "Remember me" button. The previous method was dependent on the loading order of modules (based on the weight column in the system table and relative path of the module in the installation). So I opted to implement an after_build callback installed on hook_form_alter(). This technique is pretty uncommon, so that gives the opportunity to check what other modules have done to the login form. It just happens that LT replaces the form with a link, and PL doesn't take this into account.
Could you please try the following mini-patch to persistent_login.pages.inc ?
Comment #2
jtjones23 commentedYes, PL and LT are on my list of must-use modules:)
Patch successfully removes "remember me" check box from login link. I tried the patch on my local dev site and a live site. Worked both times.
Thanks for the fast reply.
Comment #3
markus_petrux commentedSweet. Thanks for confirming. Committed to CVS. :)