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