diff --git a/src/app/domain/user.ts b/src/app/domain/user.ts index cb64a9233ce..29b973cd666 100644 --- a/src/app/domain/user.ts +++ b/src/app/domain/user.ts @@ -5,6 +5,7 @@ export class User { isGoogleUser: boolean = false; isRecaptchaInvalid: boolean = false; isRecaptchaRequired: boolean; + isVerified: boolean; language: string; lastName: string; microsoftUserId: string; diff --git a/src/app/login/login-home/login-home.component.html b/src/app/login/login-home/login-home.component.html index afc553f51f7..e73cfa514eb 100644 --- a/src/app/login/login-home/login-home.component.html +++ b/src/app/login/login-home/login-home.component.html @@ -13,32 +13,28 @@

Sign in to WISE

work. We apologize for the inconvenience.

} -

- - Username - - -

-

- - Password - - -

+ + Username + + + + Password + + @if (isRecaptchaEnabled) {

This site is protected by reCAPTCHA and the Google @@ -56,6 +52,35 @@

Sign in to WISE

> } } + @if (verificationState() === 'confirmVerified') { +

Your email has been verified.

+ } @else if (verificationState() === 'emailError') { +

+ There was an error sending the verification email. Please try again later. +

+ } @else if (verificationState() === 'emailSent') { +

A verification email has been sent.

+ } @else if (verificationState() === 'unverified') { +

+ Your email has not been verified. Check your email for a verification link. +

+ @if (allowResendEmail()) { +

+ Click here to resend the verification + email. +

+ } @else { +

+ Please wait to send another verification email ({{ resendEmailWaitSeconds() }}). +

+ } + } @else if (verificationState() === 'verificationError') { +

+ Your account could not be verified. Make sure you click the link sent to your email. +

+ }