Преглед изворни кода

using default password to save a few clicks

tags/2.037
Patrick Sun пре 5 година
родитељ
комит
a2a66d525c
2 измењених фајлова са 2 додато и 2 уклоњено
  1. +1
    -1
      src/app/auth/auth.component.ts
  2. +1
    -1
      src/app/auth/dist/auth.component.js

+ 1
- 1
src/app/auth/auth.component.ts Прегледај датотеку

@@ -16,7 +16,7 @@ export class AuthComponent implements OnInit, OnDestroy{
loginSub: Subscription;

public userForm: FormGroup = new FormGroup({
password: new FormControl('abcdefg', [Validators.minLength(3), Validators.maxLength(20)]),
password: new FormControl('password', [Validators.minLength(3), Validators.maxLength(20)]),
email: new FormControl('email@email.com', Validators.email)
});


+ 1
- 1
src/app/auth/dist/auth.component.js Прегледај датотеку

@@ -15,7 +15,7 @@ var AuthComponent = /** @class */ (function () {
this.rounter = rounter;
this.notificationService = notificationService;
this.userForm = new forms_1.FormGroup({
password: new forms_1.FormControl('abcdefg', [forms_1.Validators.minLength(3), forms_1.Validators.maxLength(20)]),
password: new forms_1.FormControl('password', [forms_1.Validators.minLength(3), forms_1.Validators.maxLength(20)]),
email: new forms_1.FormControl('email@email.com', forms_1.Validators.email)
});
}

Loading…
Откажи
Сачувај