mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 05:11:49 +00:00
Merge pull request #16146 from overleaf/jel-sso-login-invalid-email-error
[web] Show error message for invalid emails on SSO log in page GitOrigin-RevId: 511cd05754f9019bf755ff4909b4579c6dcd7fbb
This commit is contained in:
parent
5dbe1a6121
commit
c2f8099793
1 changed files with 7 additions and 0 deletions
|
@ -238,6 +238,12 @@ class InvalidQueryError extends OErrorV2CompatibleError {
|
|||
|
||||
class AffiliationError extends OError {}
|
||||
|
||||
class InvalidEmailError extends OError {
|
||||
get i18nKey() {
|
||||
return 'invalid_email'
|
||||
}
|
||||
}
|
||||
|
||||
class InvalidInstitutionalEmailError extends OError {
|
||||
get i18nKey() {
|
||||
return 'invalid_institutional_email'
|
||||
|
@ -288,5 +294,6 @@ module.exports = {
|
|||
DocHasRangesError,
|
||||
InvalidQueryError,
|
||||
AffiliationError,
|
||||
InvalidEmailError,
|
||||
InvalidInstitutionalEmailError,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue