partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 4de8d42f84e8b25150b1d3cd5db6cde18e2b98e1
parent dbacc4efc35cbeb077c2c8424c04cda92f52c7a5
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed, 16 Sep 2015 13:37:34 +0200

Include WSSE token

Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Util/ServiceCall.js | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Util/ServiceCall.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Util/ServiceCall.js @@ -58,7 +58,7 @@ Ext.define('PartKeepr.ServiceCall', { }; if (!this.anonymous) { - headers.session = PartKeepr.getApplication().getSessionManager().getSession(); + headers["X-WSSE"] = PartKeepr.getApplication().getSessionManager().getWSSE(); } Ext.Ajax.request({ @@ -197,4 +197,4 @@ Ext.define('PartKeepr.ServiceCall', { }); } -});- \ No newline at end of file +});