mirror of https://github.com/Jackett/Jackett
parent
aede7449f7
commit
fcbe60afb8
|
@ -84,6 +84,13 @@ settings:
|
|||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: 2facode
|
||||
type: text
|
||||
label: 2FA code
|
||||
- name: info_2fa
|
||||
type: info
|
||||
label: "About 2FA code"
|
||||
default: "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the TorrentLeech Web Site. Otherwise just leave it empty."
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Search freeleech only
|
||||
|
@ -119,8 +126,12 @@ login:
|
|||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
otpkey: "{{ .Config.2facode }}"
|
||||
error:
|
||||
- selector: p.text-danger
|
||||
- selector: .login-container h2:contains("One Time Password")
|
||||
message:
|
||||
text: "Your TorrentLeech account has 2FA enabled. Please recheck your indexer settings."
|
||||
test:
|
||||
path: /
|
||||
selector: a[href="/user/account/logout"]
|
||||
|
|
Loading…
Reference in New Issue