nuxeo-development-framework 3.4.3 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1064,7 +1064,7 @@
1064
1064
  clientSecret: _this.environment.nuxeoOptions.client_secret
1065
1065
  };
1066
1066
  _this._notifyAuthenticationRefreshed(refreshedToken);
1067
- _this.cookieService.set('CMS_CACHABLE', _this.encriptFormating(res));
1067
+ _this.cookieService.set('CMS_CACHABLE', _this.encriptFormating(res), 1, '/cts');
1068
1068
  return resolve(_this.http(opts));
1069
1069
  // });
1070
1070
  }, function (error) {
@@ -2490,7 +2490,7 @@
2490
2490
  clientSecret: _this.environment.nuxeoOptions.client_secret
2491
2491
  };
2492
2492
  _this._notifyAuthenticationRefreshed(refreshedToken);
2493
- _this.cookieService.set('CMS_CACHABLE', _this.encriptFormating(res));
2493
+ _this.cookieService.set('CMS_CACHABLE', _this.encriptFormating(res), 1, '/cts');
2494
2494
  return resolve(_this.http(opts));
2495
2495
  // });
2496
2496
  }, function (error) {
@@ -17631,7 +17631,7 @@
17631
17631
  console.log("======Auth Code===== " + code);
17632
17632
  _this.getFromNuxeo(code).subscribe(function (res) {
17633
17633
  console.log(res);
17634
- _this.cookieService.set('CMS_CACHABLE', _this.encriptFormating(res));
17634
+ _this.cookieService.set('CMS_CACHABLE', _this.encriptFormating(res), 1, '/cts');
17635
17635
  // this.router.navigate([], {
17636
17636
  // queryParams: {
17637
17637
  // 'code': null