- client: request tls status on app load

This commit is contained in:
Ildar Kamalov
2019-07-01 15:04:07 +03:00
parent b45e8e80fb
commit b3c2b3a21b
2 changed files with 3 additions and 3 deletions

View File

@@ -11,9 +11,7 @@ import Loading from '../../ui/Loading';
class Encryption extends Component {
componentDidMount() {
const { getTlsStatus, validateTlsConfig, encryption } = this.props;
getTlsStatus();
const { validateTlsConfig, encryption } = this.props;
if (encryption.enabled) {
validateTlsConfig(encryption);