diff --git a/src/app/login/login.component.html b/src/app/login/login.component.html index 8cbb790cc6a2d608e3296963d699a8961257e7af..9a4d84a58c240ef460c7edd301c61d34af11e2fc 100644 --- a/src/app/login/login.component.html +++ b/src/app/login/login.component.html @@ -14,7 +14,7 @@ <mat-error *ngIf="passwordFormControl.hasError('required')">Password is <strong>required</strong>.</mat-error> </mat-form-field> - <button mat-raised-button color="primary" (click)="login(userEmail.value, userPassword.value)">Login</button> + <button mat-raised-button color="primary" type="submit">Login</button> <button mat-raised-button *ngIf="role === UserRole.PARTICIPANT" (click)="guestLogin()">Login as guest </button>