diff options
author | NavaL <mnandri@thoughtworks.com> | 2016-02-25 09:16:28 +0100 |
---|---|---|
committer | NavaL <mnandri@thoughtworks.com> | 2016-02-25 09:43:02 +0100 |
commit | 1e1668f98afd04e2da7c779a825e6d28e777fec7 (patch) | |
tree | 3083f6e70f1e3ae004326ff2ece87a768794c40a /web-ui/app/templates | |
parent | 9573bdca55ddc5488066d3af525e41ed1d872ea6 (diff) |
changed logout to post
Issue #612
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> |