Closed (fixed)
Project:
Password Policy
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2012 at 01:16 UTC
Updated:
1 Jun 2012 at 21:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
erikwebb commentedCan you explain what policies you have set? Did you recently register or force a password change?
Comment #2
jbsc commentedI had basic policies set for length and capital and 1 number.
I had not recently registered. I executed the expired password command to test it but then it just took me to the user page with the message to reset password but it would not let me hit the edit tab. I also noticed that it had repeated that form 2x on the page.
In troubleshooting I turned off the password tab module and now it seems to work properly. I will do some more testing.
Comment #3
jim kirkpatrick commentedConfirmed: the tab link for "example.com/user/[uid]/password" just shows the user's profile page. Like #2, user 1 can access these pages, but a normal user cannot... I therefore think this is a permission or hook_menu issue and am looking into it.
Comment #4
jim kirkpatrick commentedOK, think I've fixed it... There were 2 issues:
password_policy_password_tab_menu()that made the password tab wasn't right for the 'user/[uid]/password' address as laid out elsewhere in the module.password_policy_password_tab()for the above menu entry had the wrong parameters.The attached patch fixes these and issues outlined in #2 and makes the password tab work as expected.
Comment #6
jim kirkpatrick commentedLet's try that patch again in the right directory...
Comment #7
jim kirkpatrick commentedComment #8
erikwebb commentedThis will likely be changed (or fixed) given the patch in issue #1330502: Update password change tab to Drupal 7. Can you apply that patch first? I will likely commit it first, in the next few days.
Comment #9
erikwebb commentedI'm comfortable getting this patch in before the full Password Change Tab module upgrade is done.
http://drupalcode.org/project/password_policy.git/commit/236ace5