diff --git a/src/frontend/app/profile/profile.component.html b/src/frontend/app/profile/profile.component.html index 6ee47f9a5b6c3a306ab7aa742d07d9ab50ebf7ff..d7193c252408ee8d00e066f98f9539039ef4ba4f 100644 --- a/src/frontend/app/profile/profile.component.html +++ b/src/frontend/app/profile/profile.component.html @@ -24,7 +24,7 @@ </mat-form-field> <mat-form-field class="input-row"> <input name="email" matInput placeholder="{{'lang.email' | translate}}" type="mail" - [(ngModel)]="profileInfo.email" required> + [(ngModel)]="profileInfo.email" pattern="(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)" required> </mat-form-field> <mat-form-field class="input-row"> <input name="firstname" matInput placeholder="{{'lang.firstname' | translate}}" [(ngModel)]="profileInfo.firstname"