Fix renderSigninIfNotSignedIn()
This commit is contained in:
parent
bf22093cde
commit
032ee3a6b1
|
@ -340,7 +340,7 @@ class App extends Component {
|
|||
renderSigninIfNotSignedIn(component) {
|
||||
if (this.state.account === null) {
|
||||
sessionStorage.setItem("from", window.location.pathname);
|
||||
return <Redirect to="/signin" />;
|
||||
window.location.replace(Setting.getSigninUrl());
|
||||
} else if (this.state.account === undefined) {
|
||||
return null;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue