Redirect to root when logout
This commit is contained in:
parent
31a003bb4e
commit
a42488bcdd
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue