mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-10 22:16:20 +00:00
make requireAuthentication clearer
if authenticating or authenticated, do not require authentication
This commit is contained in:
parent
8add299f53
commit
8d684bf1ef
@ -59,8 +59,8 @@ class AppContainer extends Component {
|
||||
}
|
||||
|
||||
requireAuthentication() {
|
||||
return !this.props.credentials.authenticating &&
|
||||
!this.props.credentials.authenticated &&
|
||||
return !(this.props.credentials.authenticating ||
|
||||
this.props.credentials.authenticated) &&
|
||||
this.props.credentials.token &&
|
||||
this.props.credentials.host;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user