mirror of https://github.com/Jackett/Jackett
The Resurrection: Fix multiple logins (#7298)
This commit is contained in:
parent
12b2de2725
commit
694c39503b
|
@ -75,16 +75,24 @@
|
|||
# "asc": "asc"
|
||||
|
||||
login:
|
||||
path: sbg_login_new.php
|
||||
method: form
|
||||
path: index.php?page=login
|
||||
method: post
|
||||
inputs:
|
||||
uid: "{{ .Config.username }}"
|
||||
pwd: "{{ .Config.password }}"
|
||||
error:
|
||||
- selector: div.altertBoxStyle:contains("Passwort falsch")
|
||||
- selector: div.altertBoxStyle:contains("Benutzername falsch")
|
||||
- selector: body[onLoad^="makeAlert('"]
|
||||
message:
|
||||
selector: body[onLoad^="makeAlert('"]
|
||||
attribute: onLoad
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["makeAlert('Error' , '", ""]
|
||||
- name: replace
|
||||
args: ["');", ""]
|
||||
test:
|
||||
path: index.php
|
||||
selector: a[href="logout.php"]
|
||||
|
||||
download:
|
||||
selector: a[href^="download.php?id="]
|
||||
|
|
Loading…
Reference in New Issue