aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.rs')
-rw-r--r--src/api.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api.rs b/src/api.rs
index d8e35fe..14c11fd 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -1109,6 +1109,9 @@ fn classify_login_error(error_res: &ConnectErrorRes, code: u16) -> Error {
};
}
}
+ Some("Captcha required.") => {
+ return Error::RegistrationRequired;
+ }
_ => {}
},
"invalid_client" => {