diff --git a/inc/myco_objects.js b/inc/myco_objects.js index 159baf1..91265a5 100644 --- a/inc/myco_objects.js +++ b/inc/myco_objects.js @@ -424,7 +424,7 @@ function SyncServer() { try { jQuery.getJSON( this.url+'/login', - {'email':email,'password':password}, + {'email':email,'password':password, 'time': new Date().getTime()}, function(data, textStatus) { console.log(data); if (textStatus=='success') { @@ -455,7 +455,7 @@ function SyncServer() { try { jQuery.getJSON( this.url+'/subscribe', - {'email':email,'name': name,'password':password}, + {'email':email,'name': name,'password':password, 'time': new Date().getTime()}, function(data, textStatus) { console.log(data); if (textStatus=='success') {