Skip to content

Commit 75fdf78

Browse files
committed
feat(firebaseui): added user's sign in process to the auth component
1 parent 1ab9ce8 commit 75fdf78

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: src/auth/module/components/auth/auth.component.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,22 @@
5050
<label for="validationSignInEmail">E-mail</label>
5151
<div class="input-group">
5252
<input class="form-control"
53-
[class.is-valid]="sigUpEmailFormControl.valid && sigUpEmailFormControl.dirty"
54-
[class.is-invalid]="sigUpEmailFormControl.errors && sigUpEmailFormControl.dirty"
53+
[class.is-valid]="signInEmailFormControl.valid && signInEmailFormControl.dirty"
54+
[class.is-invalid]="signInEmailFormControl.errors && signInEmailFormControl.dirty"
5555
id="validationSignInEmail"
56-
[formControl]="sigUpEmailFormControl"
56+
[formControl]="signInEmailFormControl"
5757
placeholder="E-mail"
5858
type="email"
5959
aria-describedby="inputGroupPrepend3"
6060
required>
6161

6262
<!--error msgs-->
6363
<div class="invalid-feedback"
64-
*ngIf="sigUpEmailFormControl.errors && (sigUpEmailFormControl.dirty || sigUpEmailFormControl.touched)">
65-
<p *ngIf="sigUpEmailFormControl.hasError('required')">
64+
*ngIf="signInEmailFormControl.errors && (signInEmailFormControl.dirty || signInEmailFormControl.touched)">
65+
<p *ngIf="signInEmailFormControl.hasError('required')">
6666
E-mail is required
6767
</p>
68-
<p *ngIf="sigUpEmailFormControl.hasError('pattern')">
68+
<p *ngIf="signInEmailFormControl.hasError('pattern')">
6969
Please enter a valid e-mail address
7070
</p>
7171
</div>

0 commit comments

Comments
 (0)