diff --git a/htdocs/includes/restler/framework/Luracast/Restler/explorer/index.html b/htdocs/includes/restler/framework/Luracast/Restler/explorer/index.html
index a433b80056b..214e6f6261c 100644
--- a/htdocs/includes/restler/framework/Luracast/Restler/explorer/index.html
+++ b/htdocs/includes/restler/framework/Luracast/Restler/explorer/index.html
@@ -2,7 +2,7 @@
Api Explorer
-
@@ -53,12 +53,15 @@
$('#input_apiKey').change(function() {
var key = $('#input_apiKey')[0].value;
- log("key: " + key);
+
if(key && key.trim() != "") {
+ /* DOL_LDR_CHANGE */
log("added key " + key);
-
+
+ /* Disabled for security reason. We keep only param in header
window.authorizations.add("key", new ApiKeyAuthorization("DOLAPIKEY", key, "query"));
console.log("param api_key added with value "+key);
+ */
window.authorizations.add("key2", new ApiKeyAuthorization("DOLAPIKEY", key, "header"));
console.log("header DOLAPIKEY added with value "+key);