comment
This commit is contained in:
parent
ccf780e11e
commit
05a56a4ef0
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ let login_twitter ctx username password secret =
|
||||||
inject_username ctx.session_id creds;
|
inject_username ctx.session_id creds;
|
||||||
(* Find password input *)
|
(* Find password input *)
|
||||||
inject_password ctx.session_id creds;
|
inject_password ctx.session_id creds;
|
||||||
(* Detection of 2FA *)
|
(* Detection and injection of 2FA code if needed *)
|
||||||
match find ctx.session_id (CSS "input[name='text']") with
|
match find ctx.session_id (CSS "input[name='text']") with
|
||||||
| [] -> print_endline "Doesn't use 2FA as no input found"
|
| [] -> print_endline "Doesn't use 2FA as no input found"
|
||||||
| _ as l ->
|
| _ as l ->
|
||||||
|
|
Loading…
Reference in a new issue