aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-03-04 15:59:59 +0000
committerr <r@freesoftwareextremist.com>2020-03-04 15:59:59 +0000
commit911c9b79937a82bd4574972fa24f45f5cb922092 (patch)
treec0f0ce04c6e0d0e2b8a7b552b8cb887ceb362ad5 /templates
parent35a8c247d910f4a17aea5dd9df511f6e44bbc4bf (diff)
downloadbloat-911c9b79937a82bd4574972fa24f45f5cb922092.tar.gz
bloat-911c9b79937a82bd4574972fa24f45f5cb922092.zip
Remove session details on signout
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>