Skip to content

Commit

Permalink
fix: MFA error display
Browse files Browse the repository at this point in the history
  • Loading branch information
enahum committed Sep 12, 2023
1 parent df52740 commit ffe449c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/screens/mfa/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const MFA = ({componentId, config, goToHome, license, loginId, password, serverD
const result: LoginActionResponse = await login(serverUrl, {loginId, password, mfaToken: token, config, license, serverDisplayName});
setIsLoading(false);
if (result?.error && result.failed) {
setError(getErrorMessage(error, intl));
setError(getErrorMessage(result.error, intl));
return;
}
goToHome(result.error);
Expand Down Expand Up @@ -191,7 +191,7 @@ const MFA = ({componentId, config, goToHome, license, loginId, password, serverD
bounces={false}
contentContainerStyle={styles.innerContainer}
enableAutomaticScroll={Platform.OS === 'android'}
enableOnAndroid={true}
enableOnAndroid={false}
enableResetScrollToCoords={true}
extraScrollHeight={0}
keyboardDismissMode='on-drag'
Expand Down

0 comments on commit ffe449c

Please sign in to comment.