mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 23:04:39 -04:00
maybe I shouldn't just have copied and pasted this code from the corresponding sanity check in chocolate.py
This commit is contained in:
parent
e3c819178f
commit
9c30f984b9
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class payment(object):
|
|||
web.header("Content-type", "text/html")
|
||||
if len(session) != 64 or not all(hexdigit(s) for s in session):
|
||||
return "Attempt to process payment for invalid session."
|
||||
if session not in r or r.hget(self.id, "live") != "True":
|
||||
if session not in r or r.hget(session, "live") != "True":
|
||||
return "Attempt to process payment for invalid session."
|
||||
if r.hget(session, "state") != "payment":
|
||||
return "Attempt to process payment for session not expecting it."
|
||||
|
|
|
|||
Loading…
Reference in a new issue