translation & clean code
This commit is contained in:
parent
1e3c45fb97
commit
d046718c30
5 changed files with 6 additions and 4 deletions
|
|
@ -22,7 +22,6 @@ import { BtnBackComponent } from '../../../shared/components/buttons/btn-back/bt
|
|||
FooterComponent,
|
||||
HeaderComponent,
|
||||
TranslateModule,
|
||||
LoadingDialogComponent,
|
||||
BtnBackComponent,
|
||||
],
|
||||
templateUrl: './forgot-pw.component.html',
|
||||
|
|
@ -43,7 +42,7 @@ export class ForgotPwComponent {
|
|||
onSubmit(ngForm: NgForm) {
|
||||
this.sharedService.isBtnDisabled = true;
|
||||
if (ngForm.submitted && ngForm.form.valid) {
|
||||
this.loginSerivce.passwordReset(this.pwResetData.mail);
|
||||
this.loginSerivce.passwordReset(this.pwResetData.mail.toLowerCase());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ import { Subscription } from 'rxjs';
|
|||
FooterComponent,
|
||||
HeaderComponent,
|
||||
TranslateModule,
|
||||
LoadingDialogComponent,
|
||||
],
|
||||
templateUrl: './pw-reset.component.html',
|
||||
styleUrl: './pw-reset.component.scss',
|
||||
|
|
|
|||
|
|
@ -73,7 +73,9 @@
|
|||
}
|
||||
</div>
|
||||
<div class="forgot-pw">
|
||||
<a routerLink="/forgot-pw">Passwort vergessen?</a>
|
||||
<a routerLink="/forgot-pw">{{
|
||||
"login.forgotPassword" | translate
|
||||
}}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="google-button">
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
"login": "Einloggen",
|
||||
"email": "E-Mail",
|
||||
"password": "Passwort",
|
||||
"forgotPassword": "Passwort vergessen?",
|
||||
"google": "Einloggen mit Google",
|
||||
"guest": "Gastzugang",
|
||||
"errorMail0": "Sie müssen eine E-Mail Adresse eingeben!",
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
"login": "Log in",
|
||||
"email": "Email",
|
||||
"password": "Password",
|
||||
"forgotPassword": "Forgotten password?",
|
||||
"google": "Sign in with Google",
|
||||
"guest": "Guest Log in",
|
||||
"errorMail0": "You must enter a mail!",
|
||||
|
|
|
|||
Loading…
Reference in a new issue