aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/__init__.py b/apioforum/__init__.py
index 86e5ff9..a7d70c0 100644
--- a/apioforum/__init__.py
+++ b/apioforum/__init__.py
@@ -49,7 +49,7 @@ def create_app():
@app.context_processor
def path_for_next():
p = request.path
- if len(request.query_string) > 0:
+ if len(request.query_string) > 0 and not p.startswith("/auth"):
p += "?" + request.query_string.decode("utf-8")
return dict(path_for_next=p)