infire: update login. #14337

This commit is contained in:
ilike2burnthing
2023-12-05 21:05:01 +00:00
committed by GitHub
parent 16da980de3
commit 8f132621f2

View File

@@ -123,16 +123,22 @@ settings:
ASC: asc
login:
method: post
path: login.php
method: form
form: form[action^="login.php"]
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
login: "Prijavi se"
selectorinputs:
csrf_token:
selector: input[name="csrf_token"]
attribute: value
error:
- selector: font[color="#FF0000"]
test:
path: index.php
selector: a[href^="logout.php"]
selector: a[href="logout.php"]
search:
paths: