From ac7157f3c99a973b39dbc0ce7dfdb832d00ef00d Mon Sep 17 00:00:00 2001 From: janot Date: Sun, 26 Apr 2020 22:11:53 +0300 Subject: [PATCH] Add option to not lock session to IP address (#8371) Fixes pain of 2fa + dynamic IP --- src/Jackett.Common/Definitions/32pages.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Jackett.Common/Definitions/32pages.yml b/src/Jackett.Common/Definitions/32pages.yml index 4f2df4cc6..88fc39d9f 100644 --- a/src/Jackett.Common/Definitions/32pages.yml +++ b/src/Jackett.Common/Definitions/32pages.yml @@ -30,6 +30,13 @@ type: info label: "About 2FA code" default: "Only fill in the 2FA code box if you have enabled 2FA on the 32Pages Web Site. Otherwise just leave it empty." + - name: lockip + type: select + label: "Lock session to my IP address" + default: "1" + options: + "1": "yes" + "0": "no" - name: sort type: select label: Sort requested from site @@ -60,6 +67,7 @@ password: "{{ .Config.password }}" twostep_pub: "{{ .Config.2facode }}" keeploggedin: 1 + lockip: "{{ .Config.lockip }}" error: - selector: "#formerror" test: