diff options
Diffstat (limited to 'web-ui/app/templates')
-rw-r--r-- | web-ui/app/templates/page/logout.hbs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/web-ui/app/templates/page/logout.hbs b/web-ui/app/templates/page/logout.hbs index dd931274..3768d24f 100644 --- a/web-ui/app/templates/page/logout.hbs +++ b/web-ui/app/templates/page/logout.hbs @@ -1,8 +1,9 @@ <ul id="logout"> - <a title="logout" href={{logout_url}}> - <li> + <form id="logout-form" method="POST" action="{{ logout_url }}"> + <input type="hidden" name="csrftoken" value="{{ csrf_token }}" /> + <li> <div class="fa fa-sign-out"></div> <i class="shortcut-label"></i> Logout </li> - </a> + </form> </ul> |