Merge branch 'csrf-excision' into hashtalk

This commit is contained in:
Julian Lam
2014-09-17 16:07:36 -04:00
17 changed files with 54 additions and 51 deletions

View File

@@ -160,9 +160,7 @@ var socket,
};
app.logout = function() {
$.post(RELATIVE_PATH + '/logout', {
_csrf: $('#csrf_token').val()
}, function() {
$.post(RELATIVE_PATH + '/logout', function() {
window.location.href = RELATIVE_PATH + '/';
});
};