Skip to content

Commit 6b1cd2b

Browse files
small fixes after review
1 parent a9fead4 commit 6b1cd2b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

redisinsight/api/src/modules/cloud/user/providers/cloud-user.api.provider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export class CloudUserApiProvider extends CloudApiProvider {
4141
'login',
4242
{
4343
...CloudApiProvider.generateUtmBody(utm),
44+
auth_mode: credentials.idpType,
4445
},
4546
{
4647
...CloudApiProvider.getHeaders(credentials),

redisinsight/ui/src/components/oauth/shared/oauth-form/components/oauth-sso-form/OAuthSsoForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const OAuthSsoForm = ({
2727
onBack,
2828
onSubmit,
2929
}: Props) => {
30-
const [validationErrors, setValidationErrors] = useState<FormikErrors<Values>>({})
30+
const [validationErrors, setValidationErrors] = useState<FormikErrors<Values>>({ email: '' })
3131

3232
const validate = (values: Values) => {
3333
const errs: FormikErrors<Values> = {}

redisinsight/ui/src/electron/components/ConfigOAuth/ConfigOAuth.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ const ConfigOAuth = () => {
115115
dispatch(setOAuthCloudSource(null))
116116
dispatch(signInFailure(err?.response?.data?.message || message))
117117
dispatch(addErrorNotification(err))
118-
dispatch(setSSOFlow(undefined))
119118
}
120119
}
121120

0 commit comments

Comments
 (0)