chdbits: add captcha (#14104)

This commit is contained in:
Bogdan 2023-02-28 18:26:53 +02:00 committed by GitHub
parent 0a2de978b9
commit e4e625c922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -60,8 +60,13 @@ settings:
asc: asc
login:
path: takelogin.php
method: post
path: login.php
method: form
form: form[action="takelogin.php"]
captcha:
type: image
selector: img[alt="CAPTCHA"]
input: imagestring
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"