mirror of https://github.com/Jackett/Jackett
parent
aede7449f7
commit
fcbe60afb8
|
@ -84,6 +84,13 @@ settings:
|
||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: 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
|
- name: freeleech
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Search freeleech only
|
label: Search freeleech only
|
||||||
|
@ -119,8 +126,12 @@ login:
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
|
otpkey: "{{ .Config.2facode }}"
|
||||||
error:
|
error:
|
||||||
- selector: p.text-danger
|
- 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:
|
test:
|
||||||
path: /
|
path: /
|
||||||
selector: a[href="/user/account/logout"]
|
selector: a[href="/user/account/logout"]
|
||||||
|
|
Loading…
Reference in New Issue