Skip to content

Commit

Permalink
Updated error code
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj committed Nov 9, 2023
1 parent 4f7ce28 commit d5f2f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/com/auth0/react/A0Auth0Module.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public void onActivityResult(Activity activity, int requestCode, int resultCode,
@Override
public void onNewIntent(Intent intent) {
if(webAuthPromise != null) {
webAuthPromise.reject("a0.session.user_cancelled", "User cancelled the Auth");
webAuthPromise.reject("a0.session.browser_terminated", "The browser window was closed by a new instance of the application");
webAuthPromise = null;
}
}
Expand Down

0 comments on commit d5f2f90

Please sign in to comment.