Does PL work with password reset?

jim_at_miramontes - May 3, 2009 - 02:08
Project:Persistent Login
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I'm having some trouble getting persistent_login to work properly with the standard "send me a onetime password because I forgot my password" capability in Drupal. My site seems to accept the password, but when I try to enter the protected area, I again get the "please login" page. This part of my site is not without hacking on my part, so it's possible I've mucked something up. Can anyone confirm that this does in fact work (and thus my problem is with me)? Thanks.

#1

markus_petrux - May 3, 2009 - 08:45
Category:bug report» support request

When using "onetime password" as part of the "Request new password" flow, the user is logged in as if PL was not present. Note the "Remember me" option is not provided on the "onetime password" confirmation page.

Once a user logs in using the "onetime password" screen, it is redirected to user/%/edit and a message is displayed to tell the user the password should be changed before proceeding. The password may or may not be changed, though. If it is not changed, the password will remain as it was before the user used the "Request new password" option. While logged in with that session, that session behaves as if the user logged in without "Remember me" option. It is allowed to visit any page without being interrupted by PL.

If the user logs out from a "onetime password" session, and logs in again using a normal login form, the "Remember me" option should behave as normal.

I would say the problem you've found seems to be related to something external to PL. You should be able to confirm the normal flow disabling whatever you've introduced here.

#2

markus_petrux - May 3, 2009 - 08:49
Status:active» fixed

Please, reopen if you can confirm this is a problem with PL itself, or otherwise you need advice with whatever you're trying to introduce in the login process. However, try to provide as much information as possible so I can reproduce the problem and try to see what happens. Thanks

#3

jim_at_miramontes - May 3, 2009 - 16:20

Thanks much. I will assume that my problem is of my own making, and should go figure out what I did to myself...

#4

System Message - May 17, 2009 - 16:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.