diff --git a/firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth/auth.kt b/firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth/auth.kt index 38f996687..9e2928c4e 100644 --- a/firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth/auth.kt +++ b/firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth/auth.kt @@ -189,6 +189,7 @@ private fun NSError.toException() = when(domain) { FIRAuthErrorCodeInvalidVerificationCode, FIRAuthErrorCodeMissingVerificationID, FIRAuthErrorCodeMissingVerificationCode, + FIRAuthErrorCodeUserTokenExpired, FIRAuthErrorCodeInvalidCredential -> FirebaseAuthInvalidCredentialsException(toString()) FIRAuthErrorCodeWeakPassword -> FirebaseAuthWeakPasswordException(toString())