diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-21 22:50:33 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-21 22:50:33 +0200 |
| commit | 10faab7941b28181c7647ff4e390ab651286bc32 (patch) | |
| tree | b0d71498d2a0649c7180940a38d2fbfa595ca515 /app/client/auth/auth.gate.js | |
| parent | 53ddf1651d649f65d92e12d36c003ff623226e34 (diff) | |
| parent | 15d5cea9d1d94a6893ef1a55a916e68a182e5394 (diff) | |
merge
Diffstat (limited to 'app/client/auth/auth.gate.js')
| -rw-r--r-- | app/client/auth/auth.gate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/client/auth/auth.gate.js b/app/client/auth/auth.gate.js index 6df1238..076ec54 100644 --- a/app/client/auth/auth.gate.js +++ b/app/client/auth/auth.gate.js @@ -46,11 +46,11 @@ class AuthRouter extends Component { class AuthGate extends Component { render(){ - if (!this.props.auth.initialized) { + if (true && !this.props.auth.initialized) { console.log('loading auth') return <div className='loading'>Loading</div> } - if (this.props.auth.isAuthenticated) { + if (true || this.props.auth.isAuthenticated) { console.log('authenticated...') if (this.props.auth.returnTo) { let { returnTo } = this.props.auth |
