From 22b62aa14eae3b2e03acc645a27211479682ee2e Mon Sep 17 00:00:00 2001 From: Jalal Fathi Date: Sun, 24 Jul 2016 13:10:32 +0200 Subject: [PATCH] added tokenCookie property --- bower.json | 2 +- ee-api-behavior.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index e7a04f8..d97ceb1 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "ee-api-behavior", - "version": "1.0.0", + "version": "1.0.2", "authors": [ "Jalal Fathi " ], diff --git a/ee-api-behavior.html b/ee-api-behavior.html index 79be601..d2182c0 100644 --- a/ee-api-behavior.html +++ b/ee-api-behavior.html @@ -107,6 +107,11 @@ type: String, value: 'sessionelf' }, + + tokenCookie: { + type: String, + value: '' + }, }, _dataChanged: function() { @@ -138,6 +143,7 @@ this.loginRedirect(); return false; } + this.tokenCookie = value; var header = '{"Authorization": "Token' + value + '"}'; var authHeader = { 'Authorization': 'Token ' + value,