Skip to content

Commit

Permalink
Merge pull request #433 from GitLiveApp/hande-FIRAuthErrorCodeUserTok…
Browse files Browse the repository at this point in the history
…enExpired

handle FIRAuthErrorCodeUserTokenExpired
  • Loading branch information
nbransby authored Nov 14, 2023
2 parents 9ea6f65 + 59de31c commit f748d61
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 f748d61

Please sign in to comment.