Skip to content

Commit

Permalink
feat(auth, android): add early return
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyokone committed Jul 19, 2022
1 parent c6ddc18 commit dc1c52f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1703,6 +1703,7 @@ private MultiFactor getAppMultiFactor(
final FirebaseUser currentUser = getCurrentUser(appName);
if (currentUser == null) {
result.error(new FirebaseNoSignedInUserException("No user is signed in"));
return;
}
if (multiFactorUserMap.get(appName) == null) {
multiFactorUserMap.put(appName, new HashMap<>());
Expand Down

0 comments on commit dc1c52f

Please sign in to comment.