Normally - after resetting password - the user is redirected to user/uid/edit to let him change the password.
With legal installed, if user must agree to new conditions, the redirection goes to user/uid instead, breaking the password reset process.
This also contraddicts the statement contained in the mail sent to the user.
Comments
Comment #1
hefox commentedI needed to solve this also.
Changed around line 444 to:
Changed the end of function legal_login_submit to :
if ($reset) drupal_set_message('You have just used your one-time login link. It is no longer necessary to use this link to login. Please change your password.');$form_state['redirect'] = 'user/'. $user->uid . ($reset?'/edit':'');
return;
?>
Comment #2
hefox commentedoops
Comment #3
patcon commentedHaving the same problem. It's really confusing my users (who aren't the tech savvy bunch).
My work-around was to programatically add a link in the navigation menu (within my catch-all
.modulefile) with a link to "Set password", then I changed the email to direct their attention to it.Just move this to be a child of "My account" and it should be fine. I know, I know, you could just as easily say click "edit", but then there's no fall-back if they don't read your instructions.
Comment #4
WebNewCastle commentedTo the maintainer: Great work on an awesome module!
I actually stopped by to post a concern and saw this was already filed. Personally, I think it would be better to put an exception for the forgot password flow so that the legal page doesn't pull up. Once someone goes to change their password, they will be promoted to accept the conditions on that page anyway. But the benefit is that the one-time link / password change flow is not interrupted.
Thanks!
Comment #5
robert castelo commentedFixed in next version 6.x.8.5