aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/nav.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/nav.tmpl b/templates/nav.tmpl
index 8922ba7..3386a7b 100644
--- a/templates/nav.tmpl
+++ b/templates/nav.tmpl
@@ -23,7 +23,10 @@
</div>
<div>
<a class="nav-link" href="/settings" target="_top">settings</a>
- <a class="nav-link" href="/signout" target="_top">sign out</a>
+ <form class="signout" action="/signout" method="post" target="_top">
+ <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
+ <input type="submit" value="signout" class="btn-link nav-link">
+ </form>
</div>
</div>
</div>