Add option to not lock session to IP address (#8371)

Fixes pain of 2fa + dynamic IP
This commit is contained in:
janot 2020-04-26 22:11:53 +03:00 committed by GitHub
parent 9fa9494d6e
commit ac7157f3c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,13 @@
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 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: