In the 7.x-1.x version, there is a delay constraint, which allows you to prevent changing the password if it was changed within a window of time (say, if it changed in the last 24 hours).
I'd like to see this feature in the 7.x-2.x version. Patch forthcoming.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | delay-constraint-2174359-3.patch | 3.52 KB | joelstein |
| #1 | delay-constraint-2174359-1.patch | 2.59 KB | joelstein |
Comments
Comment #1
joelstein commentedHere you go!
Comment #2
erikwebb commentedAll new constraints should come with tests. Can you add those?
Comment #3
joelstein commentedHere you go!
Comment #4
joelstein commentedLooks like the test passed. Can we push this through?
Comment #5
joelstein commentedAny chance this can be committed?
Comment #6
erikwebb commented@joelstein: If we can get a second affirmative for a RTBC, then I'll be happy to commit it.
Comment #7
mikeendale commented+1, #3 appears to be working.
Comment #8
erikwebb commented@dotmike - I'll assume that's a vote for RTBC.
Thanks @joelstein, committed!
http://drupalcode.org/project/password_policy.git/commit/fbf090a
Comment #9
joelstein commentedThanks!