Add "login anyway" button

Skip browser warning easier.
This commit is contained in:
Sean 2020-07-01 12:22:37 +02:00
parent fab51091b1
commit f5654f3a8c

View File

@ -17,9 +17,7 @@
</div> </div>
<div class="spacer-top-20" *ngIf="!supported"> <div class="spacer-top-20" *ngIf="!supported">
<span>{{ <span>{{ 'Please update your browser or contact your system administration.' | translate }}</span>
'Please update your browser or contact your system administration.' | translate
}}</span>
</div> </div>
<div class="spacer-top-20"> <div class="spacer-top-20">
@ -32,5 +30,14 @@
</ul> </ul>
</span> </span>
</div> </div>
<a mat-stroked-button color="primary" routerLink="/login" [queryParams]="{ checkBrowser: false }">
<span *ngIf="!supported">
{{ 'Login anyway' | translate }}
</span>
<span *ngIf="supported">
{{ 'Login' | translate }}
</span>
</a>
</mat-card> </mat-card>
</main> </main>