Update login form label to provide instructions for obtaining the code from the Minecraft server.

This commit is contained in:
akastijn 2025-08-03 01:27:49 +02:00
parent c277306c2c
commit f50f2dc6c2

View File

@ -2,7 +2,7 @@
<div mat-dialog-content> <div mat-dialog-content>
<form [formGroup]="loginForm"> <form [formGroup]="loginForm">
<mat-form-field appearance="fill" style="width: 100%"> <mat-form-field appearance="fill" style="width: 100%">
<mat-label>Enter your code</mat-label> <mat-label>Enter your code<br>Get your code by doing: /login on the minecraft server</mat-label>
<input matInput formControlName="code" type="text" (keyup)="onKeyUp()"> <input matInput formControlName="code" type="text" (keyup)="onKeyUp()">
@if (loginForm.get('code')?.errors?.['required']) { @if (loginForm.get('code')?.errors?.['required']) {
<mat-error> <mat-error>