Просмотр исходного кода

using default password to save a few clicks

tags/2.037
Patrick Sun 5 лет назад
Родитель
Сommit
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)
});
}

Загрузка…
Отмена
Сохранить