File size: 651 Bytes
88bf46c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class="login-container">
  <mat-card>
    <div class="login-content">
      <h2>Login</h2>
      <form (ngSubmit)="onSubmit()">
        <mat-form-field appearance="fill">
          <mat-label>Password</mat-label>
          <input
            matInput
            type="password"
            [(ngModel)]="password"
            name="password"
            required
          />
        </mat-form-field>
        <button mat-raised-button color="primary" type="submit">Login</button>
      </form>
      <mat-label *ngIf="(authenticationState | async)">
        {{ (authenticationState | async) }}
      </mat-label>
    </div>
  </mat-card>
</div>