Active
Project:
Remember me
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2013 at 22:30 UTC
Updated:
13 Jun 2014 at 08:44 UTC
Jump to comment: Most recent
I have a weird conflict with logintoboggan: I allow users to login, but their email address must be validated. They get a special role, "unverified", and not the "authenticated user" role.
With remember_me enabled, all these users get the "authenticated user" role regardless.
Switched to persistent_login, that fixed the problem.
Comments
Comment #1
nickl commented@berenddeboer is this custom module code that you wrote or some way that you can configure logintoboggan?
Comment #2
nickl commentedIf it is their hook_user_load(). implementation which you are referring to.
I can't think of anything we are doing which will prevent that from firing.
Comment #3
loze commentedthis is also happening for me.
Comment #4
loze commentedI believe this is caused when remember_me sets the session in _remember_me_set_lifetime.
I was able to fix this by adding the following to the end of that function after drupal_session_initialize();