Skip to content

Commit 59de31c

Browse files
committed
add FIRAuthErrorCodeUserTokenExpired to FirebaseAuthInvalidCredentialsException
1 parent 8afdde1 commit 59de31c

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)