fix(auth): cover sms invalid code error mapping
This commit is contained in:
@@ -2057,6 +2057,7 @@ impl InMemoryAuthStore {
|
||||
|
||||
fn map_sms_provider_error_to_phone_error(error: SmsProviderError) -> PhoneAuthError {
|
||||
match error {
|
||||
SmsProviderError::InvalidVerifyCode => PhoneAuthError::InvalidVerifyCode,
|
||||
SmsProviderError::InvalidConfig(message) => {
|
||||
PhoneAuthError::SmsProviderInvalidConfig(message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user