summaryrefslogtreecommitdiff
path: root/talerblog/blog/blog.py
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-24 18:13:02 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-24 18:13:02 +0200
commitb353a5b0252bba2a27e23a86d57c8d4b1c132380 (patch)
tree814e378a027efb5d283809d07893a385992521a3 /talerblog/blog/blog.py
parenta29351fd4495ee90f3779c313670fe1abd0cf907 (diff)
downloadblog-b353a5b0252bba2a27e23a86d57c8d4b1c132380.tar.gz
blog-b353a5b0252bba2a27e23a86d57c8d4b1c132380.tar.bz2
blog-b353a5b0252bba2a27e23a86d57c8d4b1c132380.zip
payment session logic
Diffstat (limited to 'talerblog/blog/blog.py')
-rw-r--r--talerblog/blog/blog.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/talerblog/blog/blog.py b/talerblog/blog/blog.py
index b636aa5..2c1cf86 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -271,12 +271,6 @@ def article(article_name, data=None):
return render_article(article_name, data, cached_order_id)
##
- # If there was an order_id but no session_sig, either the user played
- # around with the URL or the wallet is old/broken.
- if order_id and not session_sig:
- err_abort(400, message=("Bad request (session_sig missing). "
- "Your wallet might be broken or outdated"))
- ##
# First-timer; generate order first.
if not order_id:
order = dict(
@@ -290,8 +284,7 @@ def article(article_name, data=None):
return flask.redirect(
flask.url_for("article",
article_name=article_name,
- order_id=order_id,
- session_id=session_id))
+ order_id=order_id))
##
# The resource URL uniquely identifies the Web resource that