major security update

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-23 20:27:55 +01:00
parent 41158df022
commit abf77a27d6
40 changed files with 21014 additions and 23 deletions

View File

@@ -1,10 +1,10 @@
var Hostcontroller = {
enabled: true,
host_listener: function() {
var old_id;
var enabled = true;
socket.on("id", function(id)
{
@@ -63,6 +63,12 @@ var Hostcontroller = {
$('input[class=remote_switch_class]').change(function()
{
enabled = document.getElementsByName("remote_switch")[0].checked;
Crypt.set_remote(enabled);
});
},
change_enabled:function(val){
enabled = val;
document.getElementsByName("remote_switch")[0].checked = enabled;
}
}