Skip to content

Commit

Permalink
add FIRAuthErrorCodeUserTokenExpired to FirebaseAuthInvalidCredential…
Browse files Browse the repository at this point in the history
…sException
  • Loading branch information
nbransby committed Nov 14, 2023
1 parent 8afdde1 commit 59de31c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ private fun NSError.toException() = when(domain) {
FIRAuthErrorCodeInvalidVerificationCode,
FIRAuthErrorCodeMissingVerificationID,
FIRAuthErrorCodeMissingVerificationCode,
FIRAuthErrorCodeUserTokenExpired,
FIRAuthErrorCodeInvalidCredential -> FirebaseAuthInvalidCredentialsException(toString())

FIRAuthErrorCodeWeakPassword -> FirebaseAuthWeakPasswordException(toString())
Expand Down

0 comments on commit 59de31c

Please sign in to comment.