Add back in the session refresh

Thanks @thisandagain!
This commit is contained in:
Matthew Taylor 2016-01-13 13:36:36 -05:00
parent 31d4173ef5
commit a15842a582

View file

@ -155,9 +155,10 @@ var Navigation = React.createClass({
method: 'post',
uri: '/accounts/logout/',
useCsrf: true
}, function (err, body) {
if (err) return;
if (body) log.warn('body found on logout'); // shouldn't happen
}, function (err) {
if (err) log.error(err);
this.closeLogin();
window.refreshSession();
}.bind(this));
},
handleAccountNavClick: function (e) {