Skip to content

Commit a8ece90

Browse files
authored
Merge pull request #37618 from ikevin127/fix/36673
Back button in SAML page doesn't work to go back to log in page
2 parents eb4683d + 838de4d commit a8ece90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pages/signin/SAMLSignInPage/index.native.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ function SAMLSignInPage({credentials, account}: SAMLSignInPageProps) {
5858
title=""
5959
onBackButtonPress={() => {
6060
Session.clearSignInData();
61-
Navigation.navigate(ROUTES.HOME);
61+
Navigation.isNavigationReady().then(() => {
62+
Navigation.goBack();
63+
});
6264
}}
6365
/>
6466
)}

0 commit comments

Comments
 (0)