diff --git a/lancie-form.html b/lancie-form.html index 65ed5a7..8436049 100644 --- a/lancie-form.html +++ b/lancie-form.html @@ -20,13 +20,12 @@ } @@ -56,7 +55,11 @@ value: false, }, refurl: String, - token: String, + token: { + type: String, + value: '', + notify: true, + } }, /* STATIC CALL */ @@ -113,9 +116,10 @@ this.fire('enter'); }, - _getHeaders: function(token) { + _getHeaders: function(token, contentType) { return { 'X-Auth-Token': token, + 'Content-Type': contentType, }; },