diff --git a/src/app/components/login/login.component.ts b/src/app/components/login/login.component.ts index 8ece19b..c3f9fc0 100644 --- a/src/app/components/login/login.component.ts +++ b/src/app/components/login/login.component.ts @@ -35,11 +35,10 @@ export class LoginComponent implements OnInit { console.log('try to login with mail adress:' + pEmail); this.errorOccurred = false; this.errorMessage = ' '; - this.login.email = pEmail.trim(); + this.login.email = pEmail.trim().toLowerCase(); this.login.passwordHash = sha512.sha512(pPasswordHash); - console.log(this.login.passwordHash); + console.log(this.login.email); - console.log(this.login.passwordHash); this.loginService.login(this.login, error => this.loginError(error.json())); } diff --git a/src/app/components/main-navigation/main-navigation.component.html b/src/app/components/main-navigation/main-navigation.component.html index 4ad7044..e8a57c6 100644 --- a/src/app/components/main-navigation/main-navigation.component.html +++ b/src/app/components/main-navigation/main-navigation.component.html @@ -56,10 +56,24 @@
+