Benjamin Renard commited on 2014-02-02 23:10:42
Showing 1 changed files, with 2 additions and 2 deletions.
... | ... |
@@ -424,7 +424,7 @@ function SyncServer() { |
424 | 424 |
try { |
425 | 425 |
jQuery.getJSON( |
426 | 426 |
this.url+'/login', |
427 |
- {'email':email,'password':password}, |
|
427 |
+ {'email':email,'password':password, 'time': new Date().getTime()}, |
|
428 | 428 |
function(data, textStatus) { |
429 | 429 |
console.log(data); |
430 | 430 |
if (textStatus=='success') { |
... | ... |
@@ -455,7 +455,7 @@ function SyncServer() { |
455 | 455 |
try { |
456 | 456 |
jQuery.getJSON( |
457 | 457 |
this.url+'/subscribe', |
458 |
- {'email':email,'name': name,'password':password}, |
|
458 |
+ {'email':email,'name': name,'password':password, 'time': new Date().getTime()}, |
|
459 | 459 |
function(data, textStatus) { |
460 | 460 |
console.log(data); |
461 | 461 |
if (textStatus=='success') { |
462 | 462 |