Persistent login shows the "Remember me" checkbox on the user registration form when logintoboggan is installed.
This is desired behavior if logintoboggan's "Immediate login" setting is enabled but doesn't apply if "Immediate login" is not enabled.
Attached patch checks whether logintoboggan is enabled and if so, only displays the "Remember me" checkbox if "Immediate login" is enabled.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | hide-remember-me-with-logintoboggan-integration-765116-8.patch | 1.19 KB | chrisarusso |
| #7 | persistent_login.module.patch | 776 bytes | pawel_r |
| persistent_login.logintoboggan.patch | 1.18 KB | setvik |
Comments
Comment #1
markus_petrux commentedThanks for working on this.
Here's a few comments about the patch:
- What happens when LT (logintoboggan) is enabled with the other conditions related to core user module settings? ie. when an administrator creates a user? E-mail verification required? ...
- Checking for existence of LT should be done just once.
- The comments in the code would have to be updated.
Comment #2
joostvdl commentedsubscribing
Comment #3
YK85 commentedsubscribing
Comment #4
robby.smith commentedI would like to learn more of the possible benefit of this as I use Logintoboggan module
subscribing
Comment #5
YK85 commentedI'm not seeing the Remember me checkbox at the User Register page.
I do see it on the User Login page. Is this something to do with my settings?
Comment #6
rokrSubscribing.
Comment #7
pawel_r commentedThe same functionality patch but more "straight forward" - original conditions are preserved, module existence checked only once.
Comment #8
chrisarusso commentedI've got the D7 patch built off of @pawel_r 's previously applied patch for D6
Comment #9
chrisarusso commentedComment #11
gappleFixed in 7.x-1.x-dev