mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-28 04:54:16 +00:00
Fix issue when login with wrong credentials. Fixes https://github.com/GNS3/gns3-gui/issues/3714
This commit is contained in:
parent
cdf1b0ab72
commit
b18b617b24
@ -23,7 +23,7 @@ export class ChangeUserPasswordComponent implements OnInit {
|
|||||||
private toasterService: ToasterService) { }
|
private toasterService: ToasterService) { }
|
||||||
|
|
||||||
ngOnInit(): void {
|
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.user = this.data.user;
|
||||||
this.editPasswordForm = new UntypedFormGroup({
|
this.editPasswordForm = new UntypedFormGroup({
|
||||||
password: new UntypedFormControl(null,
|
password: new UntypedFormControl(null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user