ngx-sp-auth 4.3.4 → 4.3.6

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.
@@ -1336,7 +1336,7 @@ class MenuServicesService {
1336
1336
  if (response.Error) {
1337
1337
  throw Error(response.ErrorMessage);
1338
1338
  }
1339
- this.saveImageToStorage(response.InfraUsuarioImg.IMAGEM, response.InfraUsuarioImg.FILENAME);
1339
+ this.saveImageToStorage(response.InfraUsuarioImg.Imagem, response.InfraUsuarioImg.Filename);
1340
1340
  }));
1341
1341
  }
1342
1342
  // #endregion Menu: Usuário
@@ -2424,7 +2424,7 @@ class LoginComponent {
2424
2424
  //Incialização de Senha
2425
2425
  if (response.InitializePassword) {
2426
2426
  let param = btoa(`true$${this.dominio}$${this.usuario}$${response.StatusSenha}`);
2427
- this._router.navigate([`auth/login/${param}`]);
2427
+ this._router.navigate([`auth/login/novaSenha/${param}`]);
2428
2428
  this._toastrService.success("Verifique no seu e-mail o código de validação.");
2429
2429
  }
2430
2430
  if (this._authStorageService.infraInAuthTypeId == InfraInAuthTypeId.Local && this._authStorageService.infraIn2FaTypeId != null && this._authStorageService.infraIn2FaTypeId == InfraIn2FaTypeId.Email && this._authStorageService.is2FaEnabled) {
@@ -2470,7 +2470,7 @@ class LoginComponent {
2470
2470
  //Incialização de Senha
2471
2471
  if (response.InitializePassword) {
2472
2472
  let param = btoa(`true$${this.dominio}$${this.usuarioAzure}$${response.StatusSenha}`);
2473
- this._router.navigate([`auth/login/${param}`]);
2473
+ this._router.navigate([`auth/login/novaSenha/${param}`]);
2474
2474
  this._toastrService.success("Verifique no seu e-mail o código de validação.");
2475
2475
  }
2476
2476
  if (this._authStorageService.infraInAuthTypeId == InfraInAuthTypeId.Local && this._authStorageService.infraIn2FaTypeId != null && this._authStorageService.infraIn2FaTypeId == InfraIn2FaTypeId.Email && this._authStorageService.is2FaEnabled) {
@@ -3200,7 +3200,7 @@ class MenuLateralComponent {
3200
3200
  }
3201
3201
  getMenuUserImg() {
3202
3202
  this._menuServices.getImagemMenu().subscribe({
3203
- next: response => { this.footerUserImgSrc = response.InfraUsuarioImg.IMAGEM; },
3203
+ next: response => { this.footerUserImgSrc = response.InfraUsuarioImg.Imagem; },
3204
3204
  error: error => { this._projectUtilService.showHttpError(error); }
3205
3205
  });
3206
3206
  }
@@ -3607,13 +3607,13 @@ class IMenu {
3607
3607
 
3608
3608
  class InfraUsuarioImg {
3609
3609
  constructor() {
3610
- this.TENANT_ID = 0;
3611
- this.ID = 0;
3612
- this.IMAGEM = "";
3613
- this.FILENAME = "";
3614
- this.DATACRIACAO = new Date();
3615
- this.IS_ACTIVE = false;
3616
- this.USUARIOID = "";
3610
+ this.Tenant_Id = 0;
3611
+ this.Id = 0;
3612
+ this.Imagem = "";
3613
+ this.Filename = "";
3614
+ this.DataCriacao = new Date();
3615
+ this.Is_Active = false;
3616
+ this.UsuarioId = "";
3617
3617
  }
3618
3618
  }
3619
3619