Skip to content

Commit f748d61

Browse files
authored
Merge pull request #433 from GitLiveApp/hande-FIRAuthErrorCodeUserTokenExpired
handle FIRAuthErrorCodeUserTokenExpired
2 parents 9ea6f65 + 59de31c commit f748d61

File tree

1 file changed

+1
-0
lines changed
  • firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth

1 file changed

+1
-0
lines changed

firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth/auth.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ private fun NSError.toException() = when(domain) {
189189
FIRAuthErrorCodeInvalidVerificationCode,
190190
FIRAuthErrorCodeMissingVerificationID,
191191
FIRAuthErrorCodeMissingVerificationCode,
192+
FIRAuthErrorCodeUserTokenExpired,
192193
FIRAuthErrorCodeInvalidCredential -> FirebaseAuthInvalidCredentialsException(toString())
193194

194195
FIRAuthErrorCodeWeakPassword -> FirebaseAuthWeakPasswordException(toString())

0 commit comments

Comments
 (0)