Register

@if (showError) {
Registration Failed!
An Error Occurred

The registration could not be completed. Some required information is missing, or a technical issue has occurred.

Please check the registration link or contact support if the issue persists.

} @if (showSuccess) {
Successfully Registered!
Welcome, {{playerName}}!

You have successfully registered.

A confirmation email has been sent to the email address you provided. Please check your inbox and confirm the email to complete the registration process.

If you don't find the email in your inbox, please also check your spam folder.

} @if (registerForm && !showSuccess) {
@if (f['playerName'].invalid && (f['playerName'].dirty || !f['playerName'].untouched)) {
@if (f['playerName'].hasError('required')) {

Player name is required

}
}
@if (f['email'].invalid && (f['email'].dirty || !f['email'].untouched)) {
@if (f['email'].hasError('required')) {

Email is required

} @if (f['email'].hasError('email')) {

Invalid email address

}
}
@if (f['password'].invalid && (f['password'].dirty || !f['password'].untouched )) {
@if (f['password'].hasError('required')) {

Password is required

} @if (!f['password'].hasError('required')) {
Must contain a number
Minimum length required
Must contain a capital letter
Must contain a lowercase letter
Must contain special characters
}
}
@if (f['confirmPassword'].invalid && (f['confirmPassword'].dirty || !f['confirmPassword'].untouched )) {
@if (f['confirmPassword'].hasError('required')) {

Confirmation is required

} @if (f['confirmPassword'].hasError('passwordMismatch')) {

Passwords do not match

}
}
}