···185185 let cookieNames = cookieStorage.cookies?.map(\.name) ?? []
186186 guard cookieNames.contains("PD-ID") else {
187187 print("[auth] pkmslogin failed (\(status)), body: \(String(data: data, encoding: .utf8)?.prefix(500) ?? "")")
188188+ if let body = try? JSONSerialization.jsonObject(with: data) as? [String: Any],
189189+ let op = body["operation"] as? String, op == "acct_locked" {
190190+ throw HuntingtonError.authFailed("Your account is locked. You need to reset your password on the Huntington website before signing in.")
191191+ }
188192 if status == 200 || status == 302 {
189193 throw HuntingtonError.authFailed("Incorrect username or password")
190194 }