X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/eac806a4950766d01679df800f20201b4f58cbd2..773a32c20340b63d244d2a43d6fd62103e723bc5:/RegistrationTool.py diff --git a/RegistrationTool.py b/RegistrationTool.py index 7d2f29b..109a0d6 100644 --- a/RegistrationTool.py +++ b/RegistrationTool.py @@ -204,7 +204,7 @@ class RegistrationTool(BaseRegistrationTool) : security.declarePrivate('clearExpiredPasswordResetRequests') def clearExpiredPasswordResetRequests(self): now = DateTime() - for uuid, record in self._passwordResetRequest.items() : + for uuid, record in self._passwordResetRequests.items() : userid, date = record if date < now : del self._passwordResetRequests[uuid]