Skip to content

Commit

Permalink
Reactivated TLSSSL authentication warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ptweety committed Oct 10, 2022
1 parent c4a7f27 commit 9fb3466
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions nodes/ccu-connection.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,14 @@
},
});

// function TLSSSL() {
// if (document.getElementById('node-config-input-authentication').checked && !document.getElementById('node-config-input-tls').checked) {
// document.getElementById('node-config-input-tls').checked = true;
// alert('TLS/SSL activated. \nWithout TLS/SSL your credentials would be sent unencrypted!');
// }
// }
/* eslint-disable no-unused-vars, no-undef, no-alert */
function TLSSSL() {
if (document.getElementById('node-config-input-authentication').checked && !document.getElementById('node-config-input-tls').checked) {
document.getElementById('node-config-input-tls').checked = true;
alert('Authentication activated. \nWithout TLS/SSL your credentials would be sent unencrypted!');
}
}
/* eslint-enable no-unused-vars, no-undef, no-alert */

</script>

Expand Down

0 comments on commit 9fb3466

Please sign in to comment.