mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Merge branch 'captcha-auto-submit' into kikeflare
This commit is contained in:
@ -88,6 +88,7 @@ local body_template = [[
|
||||
<noscript>
|
||||
<style>.jsonly{display:none}</style>
|
||||
</noscript>
|
||||
<script src="/js/challenge.js"></script>
|
||||
</head>
|
||||
<body data-pow="%s">
|
||||
%s
|
||||
@ -103,7 +104,6 @@ local body_template = [[
|
||||
<p>Security and Performance by <a href="https://BasedFlare.com">BasedFlare</a></p>
|
||||
<p>Node: <code>%s</code></p>
|
||||
</footer>
|
||||
<script src="/js/challenge.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
]]
|
||||
@ -147,9 +147,8 @@ local captcha_section_template = [[
|
||||
Please solve the captcha to continue.
|
||||
</h3>
|
||||
<form class="jsonly" method="POST">
|
||||
<div class="%s" data-sitekey="%s"></div>
|
||||
<div class="%s" data-sitekey="%s" data-callback="onCaptchaSubmit"></div>
|
||||
<script src="%s" async defer></script>
|
||||
<input type="submit" value="Calculating proof of work..." disabled>
|
||||
</form>
|
||||
]]
|
||||
|
||||
|
Reference in New Issue
Block a user