diff --git a/src/app/content/hemat-app/user-profile/update-password/update-password.component.html b/src/app/content/hemat-app/user-profile/update-password/update-password.component.html index a051b13..d47125e 100644 --- a/src/app/content/hemat-app/user-profile/update-password/update-password.component.html +++ b/src/app/content/hemat-app/user-profile/update-password/update-password.component.html @@ -48,89 +48,81 @@ > --> -
- - +
+ +
+ +
+ +
+
-
- New Password is required -
+
New Password is required
New Password must be at least 8 characters long
- New Password must contain at least one uppercase - letter, one lowercase letter, and one number + New Password must contain at least one uppercase letter, one lowercase letter, and one number
-
-
- - + +
+ +
+ +
+ +
+
-
- Confirm Password is required -
+
Confirm Password is required
Confirm Password must match the New Password
-
diff --git a/src/app/interceptors/http-error-interceptor.service.ts b/src/app/interceptors/http-error-interceptor.service.ts index 921b80a..9615774 100644 --- a/src/app/interceptors/http-error-interceptor.service.ts +++ b/src/app/interceptors/http-error-interceptor.service.ts @@ -26,10 +26,10 @@ export class HttpErrorInterceptorService { }); // this.router.navigate(['/error/error404']); } else if (error.status === 500) { - this.toastr.error("Error", error.message, { - timeOut: 3000, - closeButton: true, - }); + // this.toastr.error("Error", error.message, { + // timeOut: 3000, + // closeButton: true, + // }); // this.router.navigate(['/error/error500']); } else if (error.status === 502) { this.toastr.error("Error", error.message, { diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 37f5a7d..da6067d 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -96,6 +96,7 @@ export class LoginComponent implements OnInit { this.router.navigate(["/monitoring"]); }, (error) => { + this.submitted = false; this.toastr.error("Error", "Akun yang anda masukan salah!", { timeOut: 5000, closeButton: true,