@fluxhub/fluxhub-lib 1.0.243 → 1.0.244

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.
@@ -3335,50 +3335,6 @@ var AuthenticationService = /** @class */ (function () {
3335
3335
  throw err;
3336
3336
  }));
3337
3337
  };
3338
- /**
3339
- * @return {?}
3340
- */
3341
- AuthenticationService.prototype.login_sa = /**
3342
- * @return {?}
3343
- */
3344
- function () {
3345
- if (this.checkCredentials())
3346
- return;
3347
- /** @type {?} */
3348
- var vars = window
3349
- .location
3350
- .href
3351
- .split(/[\&?]+/);
3352
- /** @type {?} */
3353
- var altripar = "";
3354
- /** @type {?} */
3355
- var b_found = false;
3356
- for (var i = 0; i < vars.length; i++) {
3357
- if (vars[i].substring(0, 2) == "u=") {
3358
- /** @type {?} */
3359
- var p = vars[i].split("=")[1];
3360
- //console.log(p);
3361
- this.username = this.uti_s.decrypt(decodeURI(p));
3362
- //console.log(this.username);
3363
- b_found = true;
3364
- }
3365
- else {
3366
- altripar = altripar + vars[i];
3367
- }
3368
- }
3369
- if (!b_found) {
3370
- /** @type {?} */
3371
- var r_url = encodeURI(window.location.href).replace('#', '%23');
3372
- if (r_url.indexOf('?') == -1)
3373
- r_url = r_url + '?';
3374
- this.url = 'http://csaportale.ceramicasantagostino.it/homepage_new.nsf/OK?OpenForm&redirect=' + r_url;
3375
- // console.log(post_v);
3376
- window.location.href = (this.url);
3377
- }
3378
- else {
3379
- this.login(this.username, 'jacoèp');
3380
- }
3381
- };
3382
3338
  /**
3383
3339
  * @param {?} email
3384
3340
  * @param {?=} displayError
@@ -3523,10 +3479,6 @@ var AuthenticationService = /** @class */ (function () {
3523
3479
  if ('/login' != this.router.url && this.router.url.indexOf('/rp/') == -1)
3524
3480
  this.goto_after = window.location.toString();
3525
3481
  if (localStorage.getItem(this.app_s.COMPANY_KEY + "token") === null) {
3526
- if (this.app_s.LOGIN_EXT == 1) {
3527
- this.login_sa();
3528
- return false;
3529
- }
3530
3482
  if (this.router.url.indexOf('/rp/') == -1)
3531
3483
  this.router.navigate(['login']);
3532
3484
  return false;