Redirect to root when logout

This commit is contained in:
Gabriel Augendre 2016-04-23 02:11:16 +02:00
parent 31a003bb4e
commit a42488bcdd

View file

@ -103,6 +103,7 @@ var DuplicateFinderBox = React.createClass({
var Authenticate = React.createClass({
logout: function () {
this.props.refreshAuth(null, null);
window.location.href = "/";
},
refreshToken: function (event) {
event.preventDefault();