torrentleech: replace 2FA with alt2FAToken (#14314)

This commit is contained in:
bakerboy448 2023-05-08 14:15:27 -05:00 committed by GitHub
parent 44af214b09
commit 60d674d24e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -84,13 +84,13 @@ settings:
- name: password
type: password
label: Password
- name: 2facode
- name: alt2fatoken
type: text
label: 2FA code
- name: info_2fa
label: Alt 2FA Token
- name: info_alt2fatoken
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."
label: "About Alt 2FA Token"
default: "(Site Profile => Alt 2FA Token) Only fill in the <b>Alt 2FA Token</b> 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
@ -126,7 +126,7 @@ login:
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
otpkey: "{{ .Config.2facode }}"
alt2FAToken: "{{ .Config.alt2fatoken }}"
error:
- selector: p.text-danger
- selector: .login-container h2:contains("One Time Password")