mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-05 06:43:21 +00:00
fix captcha
This commit is contained in:
parent
96c0a3a2b2
commit
b0248cd13b
|
@ -68,12 +68,12 @@
|
||||||
</label>
|
</label>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if and .Site .Site.SiteView.LocalSite.CaptchaEnabled .Captcha }}
|
{{ if and .Site .Site.SiteView.LocalSite.CaptchaEnabled .Captcha }}
|
||||||
<figure><img src="data:image/png;base64,{{ .Captcha.Png }}"></figure>
|
<figure><img src="data:image/png;base64,{{ .Captcha.PNG }}"></figure>
|
||||||
<figure><audio controls src="data:audio/wav;base64,{{ .Captcha.Wav }}"></audio></figure>
|
<figure><audio controls src="data:audio/wav;base64,{{ .Captcha.WAV }}"></audio></figure>
|
||||||
<label>
|
<label>
|
||||||
enter code
|
enter code
|
||||||
<div><input required name="captchaanswer" type="text"></div>
|
<div><input required name="captchaanswer" type="text"></div>
|
||||||
<input type="hidden" name="captchauuid" value="{{ .Captcha.Uuid }}">
|
<input type="hidden" name="captchauuid" value="{{ .Captcha.UUID }}">
|
||||||
</label>
|
</label>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if and .Site .Site.SiteView.LocalSite.EnableNSFW }}
|
{{ if and .Site .Site.SiteView.LocalSite.EnableNSFW }}
|
||||||
|
|
Loading…
Reference in a new issue