Skip to content

Commit dba1d3b

Browse files
authored
Fix 2FA code not being requested (#49)
1 parent eee3416 commit dba1d3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/StoreAPI/Store/StoreResponse.swift

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ extension StoreResponse: Decodable {
6464
self = .failure(error: Error.invalidCredentials)
6565
case "An Apple ID verification code is required to sign in. Type your password followed by the verification code shown on your other devices.":
6666
self = .failure(error: Error.codeRequired)
67+
case "MZFinance.BadLogin.Configurator_message":
68+
self = .failure(error: Error.codeRequired)
6769
case "This Apple ID has been locked for security reasons. Visit iForgot to reset your account (https://iforgot.apple.com).":
6870
self = .failure(error: Error.lockedAccount)
6971
default:

0 commit comments

Comments
 (0)