[Checkins] SVN: z3c.password/branches/adamg-tooManyLoginFailures/src/z3c/password/password.py forgot to tweak the PasswordOptionsUtility
Adam Groszer
agroszer at gmail.com
Fri Jan 29 10:34:27 EST 2010
Log message for revision 108636:
forgot to tweak the PasswordOptionsUtility
Changed:
U z3c.password/branches/adamg-tooManyLoginFailures/src/z3c/password/password.py
-=-
Modified: z3c.password/branches/adamg-tooManyLoginFailures/src/z3c/password/password.py
===================================================================
--- z3c.password/branches/adamg-tooManyLoginFailures/src/z3c/password/password.py 2010-01-29 14:33:14 UTC (rev 108635)
+++ z3c.password/branches/adamg-tooManyLoginFailures/src/z3c/password/password.py 2010-01-29 15:34:27 UTC (rev 108636)
@@ -212,13 +212,18 @@
interfaces.IPasswordOptionsUtility['maxFailedAttempts'])
disallowPasswordReuse = FieldProperty(
interfaces.IPasswordOptionsUtility['disallowPasswordReuse'])
+ failedAttemptCheck = FieldProperty(
+ interfaces.IPasswordOptionsUtility['failedAttemptCheck'])
def __init__(self, changePasswordOnNextLogin=None,
passwordExpiresAfter=None,
lockOutPeriod=None, maxFailedAttempts=None,
- disallowPasswordReuse=None):
+ disallowPasswordReuse=None,
+ failedAttemptCheck=None):
self.changePasswordOnNextLogin = changePasswordOnNextLogin
self.passwordExpiresAfter = passwordExpiresAfter
self.lockOutPeriod = lockOutPeriod
self.maxFailedAttempts = maxFailedAttempts
- self.disallowPasswordReuse = disallowPasswordReuse
\ No newline at end of file
+ self.disallowPasswordReuse = disallowPasswordReuse
+ if failedAttemptCheck is not None:
+ self.failedAttemptCheck = failedAttemptCheck
\ No newline at end of file
More information about the checkins
mailing list