My problem with Drupal is that when I choose "Request new password" and submit, it sends me a email with a link
I can login to account by clicking over that link. When I do the same it logged in me and redirects me to user edit page
Now I want to reset my password but when I click on password tab
example.com/?q=user/69/password, it ask me my account's current password. But I (may be a user) don't know current password . So How can I change password?
One point I noticed that when I put pass-reset-token on the password change URL like this
I can reset my password without putting current password.
It means that token does not apply on the password tab link. Do I need some module or change in core user module to rectify this problem?
WHAT I DID FOR TIME BEING / TEMPORARY SOLUTION
I edited file : modules/user/user.pages.inc //on line Number 142 updated
drupal_goto('user/' . $user->uid . '/edit', array('query' => array('pass-reset-token' => $token)));
drupal_goto('user/' . $user->uid . '/password', array('query' => array('pass-reset-token' => $token)));
Changed "edit" to "password"
Now my goal is complete. I know it not a good solution.
Any suggestion or answer would be appreciated.