From d335e2069a2bffa296b0944495e82a6d8750afea Mon Sep 17 00:00:00 2001 From: Lukas Kimpel <lukas.kimpel@mni.thm.de> Date: Fri, 9 Mar 2018 10:49:50 +0100 Subject: [PATCH] Change button to only submit --- src/app/login/login.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/login/login.component.html b/src/app/login/login.component.html index 8cbb790cc..9a4d84a58 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> -- GitLab