Use POST instead of GET request to synchronise groups

This commit is contained in:
Benjamin Renard 2014-01-27 23:51:03 +01:00
parent a2e33ea274
commit fe92325853

View file

@ -404,7 +404,7 @@ function SyncServer() {
this.email=email;
this.password=password;
try {
jQuery.getJSON(
jQuery.post(
this.url+'/sync',
{
'email':email,
@ -421,7 +421,8 @@ function SyncServer() {
}
}
onerror(data);
}
},
'json'
).fail(onerror);
}
catch(e) {