summaryrefslogtreecommitdiff
path: root/app/client/auth
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-20 02:19:48 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-20 02:19:48 +0200
commit19adbf48642085f39b9562ea6ad1e248a546373c (patch)
tree32129a992e8c1dcb5c9ed27482b75d8f64e9b6d2 /app/client/auth
parent59bc39099e82f4ce026e0ebd916c96bdc40fc951 (diff)
browser is browsing
Diffstat (limited to 'app/client/auth')
-rw-r--r--app/client/auth/auth.gate.js4
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