diff --git a/frontend/src/app/components/auth/register/register.component.html b/frontend/src/app/components/auth/register/register.component.html index 0e2f8bc..fb4fc9a 100644 --- a/frontend/src/app/components/auth/register/register.component.html +++ b/frontend/src/app/components/auth/register/register.component.html @@ -16,8 +16,10 @@ placeholder="Email Address" autocomplete="email" [(ngModel)]="authData.mail" + disabled required /> +
+
+ @if (authData.password.length < 6 && password.touched) { +

Password is too short, min 6 characters

+ } +
+
+ @if (authData.password !== authData.passwordConfirm && + passwordConfirm.touched) { +

The passwords do not match

+ } +