ngx-sp-auth 4.3.3 → 4.3.5
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.
package/fesm2022/ngx-sp-auth.mjs
CHANGED
|
@@ -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) {
|