Skip to content

Commit

Permalink
fix: fix forgot password page email status and email placeholder cont…
Browse files Browse the repository at this point in the history
…ent (#3408)
  • Loading branch information
bistaastha authored Jan 7, 2025
1 parent 7358230 commit f30f660
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/auth/reset-password/reset-password.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class ResetPasswordPage {

ionViewWillEnter(): void {
this.currentPageState = PageState.notSent;
this.isEmailSentOnce = false;
const email = (this.activatedRoute.snapshot.params.email as string) || '';
this.fg = this.formBuilder.group({
email: [email, Validators.compose([Validators.required, Validators.pattern('\\S+@\\S+\\.\\S{2,}')])],
Expand Down
2 changes: 1 addition & 1 deletion src/app/auth/sign-in/sign-in.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#simpleEmailInput
matInput
type="email"
placeholder="Enter registered email"
placeholder="Enter email address"
formControlName="email"
pattern="\S+@\S+\.\S{2,}"
class="sign-in__enter-email__input-container__input"
Expand Down

0 comments on commit f30f660

Please sign in to comment.