From b18b617b24646760911baababb822ae5279aae2b Mon Sep 17 00:00:00 2001 From: grossmj Date: Sun, 16 Mar 2025 20:30:03 +0700 Subject: [PATCH] Fix issue when login with wrong credentials. Fixes https://github.com/GNS3/gns3-gui/issues/3714 --- .../change-user-password/change-user-password.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/user-management/user-detail/change-user-password/change-user-password.component.ts b/src/app/components/user-management/user-detail/change-user-password/change-user-password.component.ts index 55b9394c..d688b137 100644 --- a/src/app/components/user-management/user-detail/change-user-password/change-user-password.component.ts +++ b/src/app/components/user-management/user-detail/change-user-password/change-user-password.component.ts @@ -23,7 +23,7 @@ export class ChangeUserPasswordComponent implements OnInit { private toasterService: ToasterService) { } ngOnInit(): void { - const password_regex = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8}$/; + const password_regex = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}$/; this.user = this.data.user; this.editPasswordForm = new UntypedFormGroup({ password: new UntypedFormControl(null,