allow one hour in the future

This commit is contained in:
Seth Schoen 2012-11-18 22:39:58 -08:00
parent 1bb8dcfacc
commit 796309a2ad

View file

@ -267,7 +267,7 @@ class session(object):
if not all([safe("recipient", recipient), safe("csr", csr)]):
self.die(r, r.BadRequest, uri="%sillegalcharacter" % error_uri)
return
if timestamp - time.time() > 5:
if timestamp - time.time() > 3600:
self.die(r, r.BadRequest, uri="%sfuture" % error_uri)
return
if time.time() - timestamp > 100: