Skip to content

Commit e5cbf19

Browse files
Change error text
1 parent a3f4c41 commit e5cbf19

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

redisinsight/api/src/constants/error-messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default {
8989
CLOUD_OAUTH_CANCELED: 'Authorization request was canceled.',
9090
CLOUD_OAUTH_MISCONFIGURATION: 'Authorization server misconfiguration.',
9191
CLOUD_OAUTH_GITHUB_EMAIL_PERMISSION: 'Unable to get an email from the GitHub account. Make sure that it is available.',
92-
CLOUD_OAUTH_SSO_UNSUPPORTED_EMAIL: 'Email is not recognized. Use an email associated with your organization’s SSO.',
92+
CLOUD_OAUTH_SSO_UNSUPPORTED_EMAIL: 'Invalid email.',
9393
CLOUD_OAUTH_MISSED_REQUIRED_DATA: 'Unable to get required data from the user profile.',
9494
CLOUD_OAUTH_UNKNOWN_AUTHORIZATION_REQUEST: 'Unknown authorization request.',
9595
CLOUD_OAUTH_UNEXPECTED_ERROR: 'Unexpected error.',

redisinsight/ui/src/utils/errors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const parseCustomError = (err: CustomError | string = DEFAULT_ERROR_MESSA
9494
title = 'Invalid email'
9595
message = (
9696
<>
97-
Email is not recognized. Use an email associated with your organization’s SSO.
97+
Invalid email.
9898
</>
9999
)
100100
break

redisinsight/ui/src/utils/tests/errors.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const parseCustomErrorTests = [
131131
title: 'Invalid email',
132132
message: (
133133
<>
134-
Email is not recognized. Use an email associated with your organization’s SSO.
134+
Invalid email.
135135
</>
136136
)
137137
})],

0 commit comments

Comments
 (0)