Hi,

Thanks for this great module!!

I would like to suggest adding one feature: a check box that says "do not redirect when users need to reset password" or something similar.

Sometimes when the users forget their password and request for password reset, they will receive email from site and once they click on the link in the email, they are originally brought to their account edit page and they are supposed to type in their new password, but in my case, all users will be redirected to another page. I have change the alert message so that, if they read, they should know that they have to navigate to account edit page to type in password...very often they don't read and forget to reset their password...

My guess is that you can do this with custom php but I have no idea how to myself...Hope this feature will be available one day.

Thanks again.

BB

CommentFileSizeAuthor
#3 force_password_change.patch1.4 KBhefox

Comments

3cwebdev’s picture

Assigned: Unassigned » 3cwebdev
Category: feature » bug
rkdeveloper’s picture

Title: Do not redirect when users must reset password » login destination and force password change modules in one rack

i am using force password change module and login destination module. now there is no way to redirect password change. to solve this i have written a patch.

 if(module_exists('force_password_change')){
  global $user;
  if($account->force_password_change && $account->uid == $user->uid){ return FALSE; }
  }

let me know if anybody has problem with this patch

hefox’s picture

StatusFileSize
new1.4 KB

Er, you didn't actually attach a patch.

hefox’s picture

Status: Active » Needs review
3cwebdev’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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