chore: prettier
All checks were successful
CI / Get Changed Files (pull_request) Successful in 32s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Has been skipped
CI / oxlint (pull_request) Successful in 30s
CI / eslint (pull_request) Successful in 32s
CI / prettier (pull_request) Successful in 37s
CI / Docker frontend validation (pull_request) Successful in 59s
CI / test-build (pull_request) Successful in 59s
All checks were successful
CI / Get Changed Files (pull_request) Successful in 32s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Has been skipped
CI / oxlint (pull_request) Successful in 30s
CI / eslint (pull_request) Successful in 32s
CI / prettier (pull_request) Successful in 37s
CI / Docker frontend validation (pull_request) Successful in 59s
CI / test-build (pull_request) Successful in 59s
This commit is contained in:
parent
7c87dfb519
commit
64a1155eed
1 changed files with 2 additions and 2 deletions
|
@ -21,14 +21,14 @@ export class RegisterComponent {
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private fb: FormBuilder,
|
private fb: FormBuilder,
|
||||||
private authService: AuthService,
|
private authService: AuthService
|
||||||
) {
|
) {
|
||||||
this.registerForm = this.fb.group({
|
this.registerForm = this.fb.group({
|
||||||
email: ['', [Validators.required, Validators.email]],
|
email: ['', [Validators.required, Validators.email]],
|
||||||
username: ['', [Validators.required, Validators.minLength(3)]],
|
username: ['', [Validators.required, Validators.minLength(3)]],
|
||||||
password: ['', [Validators.required, Validators.minLength(6)]],
|
password: ['', [Validators.required, Validators.minLength(6)]],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
get form() {
|
get form() {
|
||||||
return this.registerForm.controls;
|
return this.registerForm.controls;
|
||||||
|
|
Reference in a new issue