Skip to content

Commit

Permalink
feat(firebaseui): added user's sign in process to the auth component
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Jul 2, 2018
1 parent 1ab9ce8 commit 75fdf78
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/auth/module/components/auth/auth.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,22 @@
<label for="validationSignInEmail">E-mail</label>
<div class="input-group">
<input class="form-control"
[class.is-valid]="sigUpEmailFormControl.valid && sigUpEmailFormControl.dirty"
[class.is-invalid]="sigUpEmailFormControl.errors && sigUpEmailFormControl.dirty"
[class.is-valid]="signInEmailFormControl.valid && signInEmailFormControl.dirty"
[class.is-invalid]="signInEmailFormControl.errors && signInEmailFormControl.dirty"
id="validationSignInEmail"
[formControl]="sigUpEmailFormControl"
[formControl]="signInEmailFormControl"
placeholder="E-mail"
type="email"
aria-describedby="inputGroupPrepend3"
required>

<!--error msgs-->
<div class="invalid-feedback"
*ngIf="sigUpEmailFormControl.errors && (sigUpEmailFormControl.dirty || sigUpEmailFormControl.touched)">
<p *ngIf="sigUpEmailFormControl.hasError('required')">
*ngIf="signInEmailFormControl.errors && (signInEmailFormControl.dirty || signInEmailFormControl.touched)">
<p *ngIf="signInEmailFormControl.hasError('required')">
E-mail is required
</p>
<p *ngIf="sigUpEmailFormControl.hasError('pattern')">
<p *ngIf="signInEmailFormControl.hasError('pattern')">
Please enter a valid e-mail address
</p>
</div>
Expand Down

0 comments on commit 75fdf78

Please sign in to comment.