From 574a43d7599273a15f008e1d0534e5f5969272c2 Mon Sep 17 00:00:00 2001 From: Aidli Melissa <melissa.aidli@student-cs.fr> Date: Sat, 17 Sep 2022 21:26:48 +0200 Subject: [PATCH] Only lowercase for email --- src/app/signup/student-signup/student-signup.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/signup/student-signup/student-signup.component.html b/src/app/signup/student-signup/student-signup.component.html index 3c92abf..9e1859d 100644 --- a/src/app/signup/student-signup/student-signup.component.html +++ b/src/app/signup/student-signup/student-signup.component.html @@ -25,7 +25,7 @@ <!-- Email --> <mat-form-field class="full-width"> - <input matInput type="email" formControlName="email" placeholder="Adresse email" required> + <input matInput type="email" formControlName="email" placeholder="Adresse email" onkeyup="this.value = this.value.toLowerCase();" required> <mat-hint> Elle te servira d'identifiant de connexion. </mat-hint> -- GitLab