ngx-sp-auth 4.20.10 → 4.20.12

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.
@@ -1131,7 +1131,7 @@ class AuthService {
1131
1131
  this.state = "undefined";
1132
1132
  this.country = "undefined";
1133
1133
  this._AUTH_BASE_URL = `${this._customEnvironmentService.SpInfra2AuthWS}/Auth`; // SpInfra2AuthWS
1134
- this._BASE_URL = `${this._customEnvironmentService.Sp2LocalhostInfra2LoginWS}/LoginSisproERP`; // SpInfra2WS
1134
+ this._BASE_URL = `${this._customEnvironmentService.SpInfra2LoginWS}/LoginSisproERP`; // SpInfra2LoginWS
1135
1135
  this._BASE_OS_URL = `${this._customEnvironmentService.SpInfra2LoginWS}/LoginIntegradoOS`; // SpInfra2LoginWS
1136
1136
  this._LOGOUT_BASE_URL = `${this._customEnvironmentService.SpInfra2LoginWS}/LogoutSisproErp`; // SpInfra2LoginWS
1137
1137
  this._AUTH_BASE_URL = !this._customEnvironmentService.production ? this._AUTH_BASE_URL : `${this._customEnvironmentService.SpInfra2AuthWS}/Auth`;
@@ -1452,8 +1452,8 @@ class AuthService {
1452
1452
  firstValueFrom(this._httpClient.post(url, null, { 'headers': this._HTTP_HEADERS })).then(res => {
1453
1453
  console.log(res);
1454
1454
  this._authStorageService.logout();
1455
- localStorage.removeItem('configsServerUser');
1456
- localStorage.removeItem('configsServerPassword');
1455
+ localStorage.removeItem('configServerUser');
1456
+ localStorage.removeItem('configServerPassword');
1457
1457
  // Método com customizações para inicializações do Logout
1458
1458
  this._customLoginService.authLogout();
1459
1459
  });