mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-14 14:38:29 +03:00
parent
b453d9f41d
commit
4d217583b0
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ import Card from '../../ui/Card';
|
|||
|
||||
class Encryption extends Component {
|
||||
componentDidMount() {
|
||||
this.props.validateTlsConfig(this.props.encryption);
|
||||
if (this.props.encryption.enabled) {
|
||||
this.props.validateTlsConfig(this.props.encryption);
|
||||
}
|
||||
}
|
||||
|
||||
handleFormSubmit = (values) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue