From 672f38f00c98ae1a631f60812f0075c56c29d4a0 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Fri, 19 Apr 2019 15:52:35 +0200
Subject: [PATCH] fix js error

---
 src/frontend/app/profile/profile.component.html | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/frontend/app/profile/profile.component.html b/src/frontend/app/profile/profile.component.html
index 663c735828..6ee47f9a5b 100644
--- a/src/frontend/app/profile/profile.component.html
+++ b/src/frontend/app/profile/profile.component.html
@@ -24,8 +24,7 @@
                         </mat-form-field>
                         <mat-form-field class="input-row">
                             <input name="email" matInput placeholder="{{'lang.email' | translate}}" type="mail"
-                                [(ngModel)]="profileInfo.email" (keyup)="newLogin.mail=newLogin.mail.toLowerCase()"
-                                required>
+                                [(ngModel)]="profileInfo.email" required>
                         </mat-form-field>
                         <mat-form-field class="input-row">
                             <input name="firstname" matInput placeholder="{{'lang.firstname' | translate}}" [(ngModel)]="profileInfo.firstname"
-- 
GitLab