Author: justi9
Date: 2008-06-03 11:10:09 -0400 (Tue, 03 Jun 2008)
New Revision: 2116
Modified:
mgmt/cumin/python/cumin/__init__.py
Log:
Also set last challenge time for first time authorizations
Modified: mgmt/cumin/python/cumin/__init__.py
===================================================================
--- mgmt/cumin/python/cumin/__init__.py 2008-06-03 14:29:51 UTC (rev 2115)
+++ mgmt/cumin/python/cumin/__init__.py 2008-06-03 15:10:09 UTC (rev 2116)
@@ -127,6 +127,10 @@
if lout is None or lout < lch:
return True
+ else:
+ user.lastChallenged = datetime.now()
+ user.syncUpdate()
+ return True
user.lastChallenged = datetime.now()
user.syncUpdate()
Show replies by date