This commit is contained in:
Christophe Maudoux 2018-07-17 18:18:50 +02:00
parent ebe84caee7
commit da44a7c83e
4 changed files with 8 additions and 8 deletions

View File

@ -108,7 +108,7 @@ LemonLDAP::NG Portal jQuery scripts
}); });
}; };
delKey = function(key, option, success, error) { delKey = function(key, sub, success, error) {
return $.ajax({ return $.ajax({
type: "GET", type: "GET",
url: datas['scriptname'] + '/mysession/?gettoken', url: datas['scriptname'] + '/mysession/?gettoken',
@ -117,7 +117,7 @@ LemonLDAP::NG Portal jQuery scripts
success: function(data) { success: function(data) {
return $.ajax({ return $.ajax({
type: "DELETE", type: "DELETE",
url: datas['scriptname'] + "/mysession/persistent/" + key + "?option=" + option + "&token=" + data.token, url: datas['scriptname'] + "/mysession/persistent/" + key + "?sub=" + sub + "&token=" + data.token,
dataType: 'json', dataType: 'json',
success: success, success: success,
error: error error: error

File diff suppressed because one or more lines are too long