Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrfelton’s picture

Status: Active » Needs review
FileSize
555 bytes

This is all thats needed.

Status: Needs review » Needs work

The last submitted patch, 1967940-password_hussle_password-policy.patch, failed testing.

SolomonGifford’s picture

Status: Needs work » Postponed (maintainer needs more info)

Is there a reason not to do this with hook_user_presave in the password_policy‎ module?

greggles’s picture

Title: Integrate with password_policy module (record password change history) » Use hook_user_presave in password_policy to be compatible with more modules
Project: Password Hustle » Password Policy
Version: 7.x-1.0 » 7.x-2.x-dev
Status: Postponed (maintainer needs more info) » Active

Moving to a better place to discuss the proposal in #3.

erikwebb’s picture

That makes sense to me. You have my blessing.

hanoii’s picture

I had the necessity ro re-roll the original patch for password_hustle for the time being, so leaving here for reference, but any follow up on using presave on password policy?

AohRveTPV’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
Status: Active » Needs review
FileSize
3.74 KB

New features go into 7.x-2.x first, but here is a 7.x-1.x patch for review/testing.

AohRveTPV’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Needs review » Active
AohRveTPV’s picture

Discovered bug in 7.x-1.x when porting #7 to 7.x-2.x:
#2462647: Two password history entries created for new users, one invalid

AohRveTPV’s picture

Status: Active » Needs review
FileSize
2.69 KB

Please review/test.

AohRveTPV’s picture

Simplify conditions in hook_user_presave().

AohRveTPV’s picture

Update to apply on latest code.

AohRveTPV’s picture

I am committing #12 without review for the sake of testing. We already switched to hook_user_presave() in 7.x-1.x to fix #2462647: Two password history entries created for new users, one invalid. By committing the same change to 7.x-2.x, we can get some testing of this change in an alpha release before making a full release of the change in 7.x-1.x.

Would still be glad for any review/testing of this change.

  • AohRveTPV committed 7a40f65 on 7.x-2.x
    Issue #1967940 by AohRveTPV, mrfelton, hanoii: Use hook_user_presave in...
AohRveTPV’s picture

Version: 7.x-2.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)
AohRveTPV’s picture

Status: Patch (to be ported) » Closed (outdated)

6.x-1.x is no longer supported.