hellashut: support captcha login

This commit is contained in:
ilike2burnthing 2023-11-06 03:52:32 +00:00 committed by GitHub
parent 1bf73519e4
commit f2bb845ee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -103,11 +103,15 @@ settings:
login:
path: account-login.php
method: post
method: form
form: form[action="account-login.php"]
captcha:
type: image
selector: img[src="captcha.php?ext=.gif"]
input: captcha
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
returnto: /
error:
- selector: td.embedded:contains("Access Denied")
test: