mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
hd-only: add 2fa support
This commit is contained in:
@@ -39,6 +39,13 @@ settings:
|
|||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: 2fa_code
|
||||||
|
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 HD-Only Web Site. Otherwise just leave it empty."
|
||||||
- name: freeleech
|
- name: freeleech
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Search freeleech only
|
label: Search freeleech only
|
||||||
@@ -88,6 +95,7 @@ login:
|
|||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
|
twofa: "{{ .Config.2fa_code }}"
|
||||||
keeplogged: 1
|
keeplogged: 1
|
||||||
error:
|
error:
|
||||||
- selector: form#loginform > span.warning
|
- selector: form#loginform > span.warning
|
||||||
|
Reference in New Issue
Block a user