summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/templates/base.html')
-rw-r--r--apioforum/templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html
index ba96c91..87b142f 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html
@@ -21,18 +21,18 @@
{% if g.user %}
<p>{{ g.user }}</p>
<p>
- <a href="{{ url_for('auth.logout',next=request.path) }}">
+ <a href="{{ url_for('auth.logout',next=path_for_next) }}">
logout
</a>
</p>
{% else %}
<p>
- <a href="{{ url_for('auth.login',next=request.path) }}">
+ <a href="{{ url_for('auth.login',next=path_for_next) }}">
login
</a>
</p>
<p>
- <a href="{{ url_for('auth.register',next=request.path) }}">
+ <a href="{{ url_for('auth.register',next=path_for_next) }}">
register
</a>
</p>